Boost logo

Boost :

Subject: Re: [boost] [Concept Checking] function_requires
From: Dave Abrahams (dave_at_[hidden])
Date: 2011-12-18 08:07:37

on Sun Dec 18 2011, Jens Müller <> wrote:

> Hi all,
> as far as I understand
> 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>));


> 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

Boost list run by bdawes at, gregod at, cpdaniel at, john at