
7 Jan
2015
7 Jan
'15
5:10 p.m.
Nevin Liber wrote:
In order to do that, we need to somehow unify the following unrelated types:
std::integral_constant
boost::integral_constant boost::mpl::integral_c 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.