Boost logo

Boost :

Subject: Re: [boost] A bike shed (any colour will do) on greener grass...
From: Peter Dimov (lists_at_[hidden])
Date: 2013-10-31 15:43:02


Stephen Kelly wrote:
> Some users of the mpl are just using things like mpl::and_ and mpl::or_
> etc, which can be implemented easily with a variadic template, thereby
> avoiding Boost.PP for example.

Some (if not most) of these uses may well be outdated workarounds for
compiler bugs involving use of && and || in integral constant expressions.

But it's likely that the arguments to those mpl::and_ and mpl::or_ come from
type traits, and Boost.TypeTraits depends on MPL.

Of course type traits are standard in C++11, so it will be possible with a
bit more work.


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