
14 May
2012
14 May
'12
3:47 p.m.
Is there any difference between boost::type_traits::ice_and (ice_or) and boost::mpl::and_ (or_)?
boost::type_traits::ice_and takes bools, boost::mpl::and_ takes types.
Sure. But you can always call ::value on the type to get a bool, or wrap the bool in mpl::bool_<> to get a type. Does it really make sense to have two facilities that basically do the same thing? Regards, Nate