diff --git a/creating_concepts.htm b/creating_concepts.htm index 10ade8a..1d22fc5 100644 --- a/creating_concepts.htm +++ b/creating_concepts.htm @@ -27,10 +27,9 @@ at how to create the corresponding checks for the RandomAccessIterator concept. First, as a convention we name the concept checking class after the concept, and add the suffix -``_concept''. Note that the REQUIRE macro expects -the suffix to be there. Next we must define a member function named +``Concept''. Next we must define a member function named constraints() in which we will exercise the valid expressions -of the concept. The REQUIRE macro expects this function's +of the concept. function_requires() expects this function's signature to appear exactly as it is appears below: a void non-const member function with no parameters. @@ -43,8 +42,8 @@ RandomAccessIterator and the concepts which it builds upon: BidirectionalIterator and LessThanComparable. We could have instead used -CLASS_REQUIRES and placed these requirements in the class -body, however CLASS_REQUIRES uses C++ language features that +BOOST_CLASS_REQUIRES and placed these requirements in the class +body, however BOOST_CLASS_REQUIRES uses C++ language features that are less portable.