
31 Oct
2013
31 Oct
'13
7:43 p.m.
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.