some concept checking changes as per review comments

[SVN r8268]
This commit is contained in:
Jeremy Siek committed 2000-11-20 18:17:52 +00:00
1 parent 6e6ebd28d6
commit 86b1612338
15 files changed
+711 -277

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
// (C) Copyright Jeremy Siek 2000. Permission to copy, use, modify,
// sell and distribute this software is granted provided this
// copyright notice appears in all copies. This software is provided
// "as is" without express or implied warranty, and with no claim as
// to its suitability for any purpose.
#include <boost/pending/concept_checks.hpp>
/*
This file verifies that the BOOST_FUNCTION_REQUIRES macro
of the Boost Concept Checking Library catches errors
when it is suppose to.
*/
struct foo { };
int
main()
{
BOOST_FUNCTION_REQUIRES(foo, EqualityComparableConcept);
return 0;
}