About a Ratio/MPL submodule and removing dependencies from Ratio/Chrono on MPL.
Hi,
Boost.Ratio has a logical submodule providing an extension to the
standard see boost::ratio as an MPL type adding
struct rational_c_tag : int_<10> {};
This submodule could be moved to the subdirectory of libs/ratio/mpl so
that the users of boost::ratio, shouldn't depend on MPL.
Boost.Chrono depends already on MPL, but the dependencies are really
minor - see below (and can be replaced by StaticAssert and TypeTraits,
so that this dependency could be removed also.
Do you think removing the dependencies of Boost.Ratio and Boost.Chrono
on Boost MPL has value?
Best,
Vicente
P.S. I know that currently TypeTraits depends on MPL, but we expect to
resolve this dependency already.
|
Vicente J. Botet Escriba wrote:
Do you think removing the dependencies of Boost.Ratio and Boost.Chrono on Boost MPL has value?
Maybe in principle, but probably not in practice, at least as far as modular installation via bpm is concerned. At this point, installing pretty much any module brings in MPL, via TypeTraits or otherwise, so I would focus on more important things if I were you. :-)
Do you think removing the dependencies of Boost.Ratio and Boost.Chrono on Boost MPL has value?
Maybe in principle, but probably not in practice, at least as far as modular installation via bpm is concerned. At this point, installing pretty much any module brings in MPL, via TypeTraits or otherwise, so I would focus on more important things if I were you. :-)
Given that most of those dependencies are only to mpl::bool_, int_ and if_ are we back to wanting a "core mpl" lib again? BTW the dependency on MPL would be no bad thing were it not for that fact that it depends on a lot of other stuff such as preprocessor etc. John.
participants (3)
-
John Maddock
-
Peter Dimov
-
Vicente J. Botet Escriba