Subject: Re: [boost] Road to low-quality-code is paved with good intentionsof dropping dependencies
From: Peter Dimov (lists_at_[hidden])
Date: 2015-01-07 12:27:53
> Nevin Liber wrote:
> > In order to do that, we need to somehow unify the following unrelated
> > types:
> > std::integral_constant<bool, b>
> > boost::integral_constant<bool, b>
> > boost::mpl::integral_c<bool, b>
> > Otherwise, it'll break the world, as most usages of type traits are
> > either via tag dispatching or enable_if.
> I've already suggested a way to do that. Namely, integral constant types
> of type T and value v need to acquire a converting constructor from
> anything of type U for which U::value == v.
As explained in http://lists.boost.org/Archives/boost/2014/06/214248.php
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk