Subject: Re: [boost] New dependency report
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2014-06-06 07:43:37
El 06/06/2014 13:17, Peter Dimov escribió:
> Antony Polukhin wrote:
>> May be it would be better to move boost/mpl/bool.hpp,
>> boost/mpl/bool_fwd.hpp, boost/mpl/integral_c.hpp, mpl/or.hpp,
>> mpl/identity.hpp, mpl/and.hpp into the Core library?
> No, a header called boost/mpl/something.hpp will never be part of Core,
> and neither will a component boost::mpl::something. We might duplicate
> these as boost/core/something.hpp and boost::core::something, but they
> will not be quite the same as their mpl counterparts, and will not
> magically make a module that includes a boost/mpl/ header drop its
> dependency to MPL.
An option is to implement them into boost::core namespace and inject
them into boost::mpl namespace in boost/mpl/. Then each library can
break mpl dependencies incluing core headers and namespaces instead of
mpl ones. But this is not trivial.