
1 Nov
2013
1 Nov
'13
5:33 p.m.
John Maddock wrote:
I can't help but wonder if type_traits could be reimplemented in C++11 without any dependencies at all (and still interoperate correctly with MPL etc).
In C++11, I can just use the standard type traits. On the other hand, in C++11, people can just use std::shared_ptr. :-) In principle, it might have been possible to have low-level type traits that do not interoperate with MPL and are completely dependency-free, and a high-level type traits that are MPL-friendly. But it doesn't make any sense to do this now. It's almost 2014.