Boost logo

Boost :

Subject: Re: [boost] [modularization] Recommendations
From: Stephen Kelly (hello_at_[hidden])
Date: 2014-06-08 08:07:43

Peter Dimov wrote:

> cast.hpp probably also needs to die, the polymorphic casts going into
> their own header. This will be post-release because it will break code,
> though.

Actually it doesn't need to be a breaking change.

You can create a new polymorphic_cast.hpp in core and #include that in
cast.hpp, and move that cast.hpp (which now only contains two includes) to
numeric. Then you can deprecate cast.hpp with a pragma warning and port any
uses of it to include polymorphic_cast.hpp instead. Non breaking change.



Boost list run by bdawes at, gregod at, cpdaniel at, john at