Boost logo

Boost :

Subject: Re: [boost] [string] proposal
From: Ivan Le Lann (ivan.lelann_at_[hidden])
Date: 2011-01-27 03:31:16


Artyom wrote :
>
> (Clue: there is no painful problems with std::string)
>

So you do not consider the fact the following code compiles (and runs!)
cleanly as a painful problem?

std::string s = get_utf8_string();
s[42] = '?';

I consider that std::string is cool as an internal for a Boost.Locale
implementor, not as a standard API for encoded strings that should be
used by all C++ developpers.

Ivan.


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