Boost logo

Boost Users :

Subject: Re: [Boost-users] [type_traits] ice_or / ice_and not documented but recommended in coding guidelines
From: John Maddock (john_at_[hidden])
Date: 2013-10-10 11:39:25

> I use Boost.Mpl for this. Please try boost::mpl::and, etc.
> I'm curious about those boost::type_traits::ice_* things too, though.

They're antiquated now, as I believe all current compilers don't require
such nastiness. Same is true of the mpl equivalents, which were a later
approach to the same problem. Currently if I need to combine
integral-constant-expressions I do so in the "natural" way with || && etc:
it reads much better that way IMO.


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at