Boost logo

Boost :

Subject: Re: [boost] boost::string namespace and string-conversion functions
From: Vladimir Batov (batov_at_[hidden])
Date: 2009-02-14 06:32:28

> >> People largely seem content with "boost::string".
> I think that is a pretty bold statement as your proposal for
> boost::string was initially posted merely 26 hours earlier.

I've come to realize that now.

> Perhaps this library should be bundled with the Boost String Algorithms
> Library, and reside in the boost::algorithm namespace.

My original understanding was the namespace meant beyond just algorithms.


> I don't think it is a good idea to have the nothrow exception
> specification on either boost::string::from nor boost::string::to as the
> underlying mechanism (iostreams I would believe) or copy-construction of
> T or construction of String could throw exceptions. Nothrow simply
> cannot be guaranteed.

It seems obvious once you mentioned that. Quite embarrassing.


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