Boost logo

Boost :

Subject: Re: [boost] [modularization] Modularizing Boost (modularization)
From: Nevin Liber (nevin_at_[hidden])
Date: 2013-11-05 11:32:40

On 4 November 2013 05:35, Peter Dimov <lists_at_[hidden]> wrote:

> No, I wasn't referring to C++14, as type traits are in C++11 (and were in
> TR1 before that.) My point was that Boost components that have been
> accepted into the standard are already obsolete, so investing any
> significant effort for them might not pay off.

The annoyance I've run into is mixing types traits from both std and Boost
(Boost has more type traits, so I cannot eliminate the dependency on Boost
in this case). When doing tag dispatching, they have different tags, as
boost::true_type is a type unrelated to std::true_type.

On possible improvement for C++11 would be to have boost::mpl::integral_c
(the top level base class of boost::true_type) publicly derive from
std::integral_constant, but I don't know what the ramifications of that
would be.

 Nevin ":-)" Liber  <mailto:nevin_at_[hidden]>  (847) 691-1404

Boost list run by bdawes at, gregod at, cpdaniel at, john at