Boost logo

Boost :

Subject: Re: [boost] [type_traits] Rewrite and dependency free version
From: pfultz2 (pfultz2_at_[hidden])
Date: 2015-01-16 13:08:37


> 3) Current MPL inter-operability is fragile see
> https://github.com/boostorg/type_traits/blob/Version2/include/boost/type_traits/integral_constant.hpp

Well not only the interoperability, but the functionality. As
`integral_constant` is currently defined, this won't compile on C++11 or
C++14:

static_assert(boost::is_integral<int>(), "Not integral");

Which it does compile currently with boost type traits. I can try and send a
pull request for this if you like.

Paul

--
View this message in context: http://boost.2283326.n4.nabble.com/type-traits-Rewrite-and-dependency-free-version-tp4671061p4671261.html
Sent from the Boost - Dev mailing list archive at Nabble.com.

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