
18 Dec
2011
18 Dec
'11
1:07 p.m.
on Sun Dec 18 2011, Jens Müller <blog-AT-tessarakt.de> wrote:
Hi all,
as far as I understand http://www.boost.org/doc/libs/1_48_0/libs/concept_check/reference.htm#deprec..., function_requires() is deprecated.
However, the documentation does not mention very clearly how to replace it. Is the BOOST_CONCEPT_ASSERT macro the replacement? E.g., does
function_requires< VertexListGraphConcept<Graph> >();
now become
BOOST_CONCEPT_ASSERT((VertexListGraphConcept<Graph>));
Yes.
function_requires still appears in a lot of test cases of the Graph library. So if it is that easy to change, I would hand in a patch.
I suggest you also patch the concept_check docs to clarify this :-) -- Dave Abrahams BoostPro Computing http://www.boostpro.com