2006-04-29 20:27:14 +00:00
|
|
|
// (C) Copyright Jeremy Siek, David Abrahams 2000-2006.
|
2004-07-26 00:32:12 +00:00
|
|
|
// Distributed under the Boost Software License, Version 1.0. (See
|
|
|
|
|
// accompanying file LICENSE_1_0.txt or copy at
|
|
|
|
|
// http://www.boost.org/LICENSE_1_0.txt)
|
2000-12-09 15:24:02 +00:00
|
|
|
|
2005-05-01 14:30:28 +00:00
|
|
|
#ifdef NDEBUG
|
|
|
|
|
# undef NDEBUG
|
|
|
|
|
#endif
|
|
|
|
|
|
2000-12-09 15:32:00 +00:00
|
|
|
#include <boost/concept_check.hpp>
|
2000-12-09 15:24:02 +00:00
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
|
2006-04-29 20:27:14 +00:00
|
|
|
This file verifies that BOOST_CONCEPT_ASSERT catches errors in
|
|
|
|
|
function context.
|
2000-12-09 15:24:02 +00:00
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
struct foo { };
|
|
|
|
|
|
|
|
|
|
int
|
|
|
|
|
main()
|
|
|
|
|
{
|
2006-05-01 19:40:32 +00:00
|
|
|
BOOST_CONCEPT_ASSERT((boost::EqualityComparable<foo>));
|
2006-04-29 20:27:14 +00:00
|
|
|
return 0;
|
2000-12-09 15:24:02 +00:00
|
|
|
}
|