2 Dec
2009
2 Dec
'09
6:37 p.m.
Eloi,
I would do something like that (not tested): BOOST_STATIC_ASSERT(mpl::contains
::value);
This works just fine.
But I don't know if it is a good idea. Is there a way to do that with gil_function_requires ?
You mean by adding a new concept to gil? I would just go with the metafunction you provided above. What are you trying to do? Some SFINAE? Christian