• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // (C) Copyright Jeremy Siek, David Abrahams 2000-2006.
2 // Distributed under the Boost Software License, Version 1.0. (See
3 // accompanying file LICENSE_1_0.txt or copy at
4 // http://www.boost.org/LICENSE_1_0.txt)
5 
6 #ifdef NDEBUG
7 #  undef NDEBUG
8 #endif
9 
10 #include <boost/concept_check.hpp>
11 
12 /*
13 
14   This file verifies that BOOST_CONCEPT_ASSERT catches errors in
15   function context.
16 
17 */
18 
19 struct foo { };
20 
21 int
main()22 main()
23 {
24     BOOST_CONCEPT_ASSERT((boost::EqualityComparable<foo>));
25     return 0;
26 }
27