$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] Road to low-quality-code is paved with good intentions of dropping dependencies
From: Peter Dimov (lists_at_[hidden])
Date: 2015-01-07 12:10:22
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.