Killed off "Concept" suffixes on Boost concepts. Maintained

back-compatibility by using a macro to define XxxxConcept when
defining Xxxxx.


[SVN r33894]
This commit is contained in:
Dave Abrahams committed 2006-05-01 19:40:32 +00:00
1 parent f00741c14f
commit 79017f985a
14 files changed
+407 -413

No files matched your search

+4 -4
View File
@@ -18,11 +18,11 @@ struct bar { bool operator()(int, char) { return true; } };
class class_requires_test
{
BOOST_CONCEPT_ASSERT((boost::EqualityComparableConcept<int>));
BOOST_CONCEPT_ASSERT((boost::EqualityComparable<int>));
typedef int* int_ptr; typedef const int* const_int_ptr;
BOOST_CONCEPT_ASSERT((boost::EqualOpConcept<int_ptr,const_int_ptr>));
BOOST_CONCEPT_ASSERT((boost::UnaryFunctionConcept<foo,bool,int>));
// BOOST_CONCEPT_ASSERT((boost::BinaryFunctionConcept<bar,bool,int,char>));
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