17 Sep
2014
17 Sep
'14
9:45 a.m.
Andrey Semashev wrote:
How about we just remove the common_type include from type_traits.hpp?
That would be a breaking change, wouldn't it?
It will break code that includes boost/type_traits.hpp and uses boost::common_type, yes. Since common_type is a relatively late addition, such code is, I submit, rare. It will also break the dependency of boost/type_traits.hpp on typeof. There are many libraries that include type_traits.hpp and do not use common_type, and this will automatically make them not depend on typeof.