changed to new non-macro style, so don't need different 1..4

arguments versions


[SVN r8277]
This commit is contained in:
Jeremy Siek
2000-11-21 20:16:55 +00:00
parent be077fe131
commit 094da4b2f6
10 changed files with 32 additions and 185 deletions
+31
View File
@@ -0,0 +1,31 @@
// (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_CLASS_REQUIRES macro
of the Boost Concept Checking Library catches errors
when it is suppose to.
*/
struct foo { };
using namespace boost;
class class_requires_test
{
typedef class_requires< EqualityComparableConcept<foo> >::check req;
};
int
main()
{
class_requires_test x;
return 0;
}