From 8414234a2a772fbb101540e7ff31e9a713026df8 Mon Sep 17 00:00:00 2001 From: Jeremy Siek Date: Mon, 12 Sep 2005 15:17:27 +0000 Subject: [PATCH] documented the restriction on BOOST_CLASS_REQUIRES [SVN r30917] --- using_concept_check.htm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/using_concept_check.htm b/using_concept_check.htm index 54fcbce..ff120f8 100644 --- a/using_concept_check.htm +++ b/using_concept_check.htm @@ -100,7 +100,9 @@ explicit template argument, as shown below.

BOOST_CLASS_REQUIRE

The BOOST_CLASS_REQUIRE 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.
   // In my library: