Boost logo

Boost Users :

From: suresh.t_at_[hidden]
Date: 2005-01-27 08:38:49


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<mylist, mpl::int_<16> >::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?

Thanks in Advance
S.T


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net