mirror of
https://github.com/boostorg/concept_check.git
synced 2025-08-01 05:24:47 +02:00
documented the restriction on BOOST_CLASS_REQUIRES
[SVN r30917]
This commit is contained in:
@@ -100,7 +100,9 @@ explicit template argument, as shown below.
|
||||
<h4><tt>BOOST_CLASS_REQUIRE</tt></h4>
|
||||
|
||||
The <tt>BOOST_CLASS_REQUIRE</tt> macro can be used inside a class
|
||||
definition to check whether some type models a concept.
|
||||
definition to check whether some type models a concept. Make sure
|
||||
that the arguments to this macro are simply identifiers. You may need
|
||||
to use typedef to get your types into this form.
|
||||
|
||||
<pre>
|
||||
// In my library:
|
||||
|
Reference in New Issue
Block a user