boost-users: cant i use mpl::contains to find members of list_c ??
hi,
I was trying to use mpl::contains with list_c and it always seems to
return mpl::false_.
For example
typedef mpl::list_c< int ,16,8 > mylist;
typedef mpl::contains
suresh.t@philips.com writes:
I was trying to use mpl::contains with list_c and it always seems to return mpl::false_.
For example typedef mpl::list_c< int ,16,8 > mylist; typedef mpl::contains
>::type tt; "tt::value" is zero though i thought 16 being in the mylist it would be 1.
Can someone please let me know whether the usage is improper and if so what should be used to find elements in list_c?
Please see http://article.gmane.org/gmane.comp.lib.boost.user/9255. -- Aleksey Gurtovoy MetaCommunications Engineering
participants (2)
-
Aleksey Gurtovoy
-
suresh.t@philips.com