Hicham Mouline wrote:
> Hello
>
> template <typename T>
> struct S {
> // how to detect T has a member static const size_t value ?
> // if T has value, define member of S, m1 of type T1, otherwise m2 of
> type T2
> };
>
> Regards,
>
> _______________________________________________
> Boost-users mailing list
>
Boost-users@...
>
http://lists.boost.org/mailman/listinfo.cgi/boost-users>
Check the Boost.Vault for th eintrospection library. It has a
HAS_STATIC_MEMBER_NAMED meta-function builder
--
___________________________________________
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