Boost logo

Boost :

Subject: Re: [boost] Review Request: Introduction of boost::string namespace and string-conversion functions
From: Boris Schaeling (boris_at_[hidden])
Date: 2009-02-12 08:54:56


On Wed, 11 Feb 2009 21:54:09 +0100, Andrey Semashev
<andrey.semashev_at_[hidden]> wrote:

> Vladimir.Batov_at_[hidden] wrote:
>> Based on the previous string-conversion-related discussion that
>> revolved around lexical_cast (started with
>> http://lists.boost.org/Archives/boost/2009/01/147013.php) and Dave's
>> suggestion (http://lists.boost.org/Archives/boost/2009/02/147995.php) I
>> would like to propose to create a new boost::string I would
>> initially like to see if we can agree on 1) creating boost::string (or
>> some other as descriptive name) namespace;
>
> Could we come up with another name for the namespace? The string
> namespace looks too general to me and may potentially clash with
> std::string if "using namespace boost; using namespace std;" is written
> in the users' code.

I didn't follow the discussion and thus wonder why a new namespace should
be introduced at all. After all there is boost::algorithm in
Boost.StringAlgorithms? If boost::string or boost::strings is introduced
we have string algorithms in different namespaces (or is boost::algorithm
then renamed?). If a new namespace should be introduced only for string
conversions then IMHO boost::string and boost::strings are both too
general (it sounds like they would have been more appropriate for
Boost.StringAlgorithms).

Boris

> [...]


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