Boost logo

Boost :

Subject: Re: [boost] Review Request: Introduction of boost::string namespace and string-conversion functions
From: Bo Persson (bop_at_[hidden])
Date: 2009-02-12 12:18:03


Andrey Semashev 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.
>

And even worse - it would make it very hard to propose the utilities
for inclusion in a future language standard. Using names that are
already in namespace std is not a good idea, if you have such
ambitions.

Bo Persson


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