Boost logo

Boost :

Subject: Re: [boost] [type_traits] Modularization proposal
From: Peter Dimov (lists_at_[hidden])
Date: 2014-09-17 05:45:20


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.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk