Boost logo

Boost :

From: Beman Dawes (beman_at_[hidden])
Date: 2000-08-31 09:36:57


Jens Maurer wrote:

>Beman Dawes wrote:
>> Should we combine the boost/lexical_cast.hpp and boost/cast.hpp
>> headers?
>
>I don't think so, because lexical_cast.hpp requires the rather
>heavy-weight <sstream> header, while the current cast.hpp doesn't.
>
>Reducing coupling is good.

After a private email exchange, Kevlin and I agree with you that the
headers should be separate.

How about a common boost cast library, initially with headers
boost/lexical_cast.hpp and boost/cast.hpp? Names subject to further
discussion, of course. The documentation would continue to be separate,
but the library's index.html page would link to the separate docs. To
ensure consistency and reduce administrivia, all boost cast components
would be formally reviewed together.

I'd also like to see the nested cast namespace removed from cast.hpp. The
advantages are limited in relation to the added complexity and reduced code
readability and writeability.

--Beman


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