forked from boostorg/concept_check
Full merge from trunk at revision 41356 of entire boost-root tree.
[SVN r41370]
This commit is contained in:
1 parent
92ae569516
commit
997b34b581
25 files changed
+1581
-1202
No files matched your search
@@ -18,17 +18,17 @@ struct bar { bool operator()(int, char) { return true; } };
|
||||
|
||||
class class_requires_test
|
||||
{
|
||||
BOOST_CLASS_REQUIRE(int, boost, EqualityComparableConcept);
|
||||
typedef int* int_ptr; typedef const int* const_int_ptr;
|
||||
BOOST_CLASS_REQUIRE2(int_ptr, const_int_ptr, boost, EqualOpConcept);
|
||||
BOOST_CLASS_REQUIRE3(foo, bool, int, boost, UnaryFunctionConcept);
|
||||
BOOST_CLASS_REQUIRE4(bar, bool, int, char, boost, BinaryFunctionConcept);
|
||||
BOOST_CONCEPT_ASSERT((boost::EqualityComparable<int>));
|
||||
typedef int* int_ptr; typedef const int* const_int_ptr;
|
||||
BOOST_CONCEPT_ASSERT((boost::EqualOp<int_ptr,const_int_ptr>));
|
||||
BOOST_CONCEPT_ASSERT((boost::UnaryFunction<foo,bool,int>));
|
||||
BOOST_CONCEPT_ASSERT((boost::BinaryFunction<bar,bool,int,char>));
|
||||
};
|
||||
|
||||
int
|
||||
main()
|
||||
{
|
||||
class_requires_test x;
|
||||
boost::ignore_unused_variable_warning(x);
|
||||
return 0;
|
||||
class_requires_test x;
|
||||
boost::ignore_unused_variable_warning(x);
|
||||
return 0;
|
||||
}
|
||||
Reference in new issue
Block a user