Boost logo

Boost :

Subject: Re: [boost] conversion, cast.hpp (Was: [modularization] Recommendations)
From: Peter Dimov (lists_at_[hidden])
Date: 2014-06-08 10:51:11


Antony Polukhin wrote:

> This does not look right. polymorpic_cast and polymotphic_downcast do not
> look like they belong to Numeric. They do not deal with numbers at all.

The proposal is:

- move the polymorphic casts into their own header, in conversion,
boost/polymorphic_cast.hpp;
- move boost/cast.hpp, which is now

#include <boost/implicit_cast.hpp>
#include <boost/polymorphic_cast.hpp>
#include <boost/numeric/conversion/cast.hpp>

into numeric/conversion, pending deprecation.

> Most part of the Conversion dependencies are related to the LexicalCast.
> Moving it into a separate module looks reasonable. It is already
> represented as a separate library on the website.

Everyone seems to agree on that, so what do you need to move forward with
it? Will just an empty 'lexical_cast' repository be enough, or do you need
me to do something else? Perhaps cloning the current contents of
'conversion' into 'lexical_cast' may be a better starting point?


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