
10 Oct
2013
10 Oct
'13
3:39 p.m.
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. John.