« Return to Thread: detect if a type has a size_t member

Re: detect if a type has a size_t member

by Joel Falcou-3 :: Rate this Message:

Reply to Author | View in Thread

Hicham Mouline wrote:
> Can I put the macro inside the struct S ? I guess not. I'd write:
> HAS_STATIC_MEMBER_NAMED(T, value)
>
> which would return a integral bool or a bool type
it works liek BOOST_MPL_HAS_XXXX so put it where you want to define
a boolean meta-function. It supports ::value and ::type return mpl boolean.

--
___________________________________________
Joel Falcou - Assistant Professor
PARALL Team - LRI - Universite Paris Sud XI
Tel : (+33)1 69 15 66 35


_______________________________________________
Boost-users mailing list
Boost-users@...
http://lists.boost.org/mailman/listinfo.cgi/boost-users

 « Return to Thread: detect if a type has a size_t member