Boost logo

Boost :

Subject: Re: [boost] ice_and/or vs. mpl::and_/or_
From: Nathan Ridge (zeratul976_at_[hidden])
Date: 2012-05-14 11:47:33


> > 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
                                               


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk