
On Tue, Mar 4, 2008 at 6:11 AM, Phil Endecott <spam_from_boost_dev@chezphil.org> wrote:
Matt Gruenke wrote:
[snip]
Something that might be worth a look is Glib::ustring, in glibmm-2.
http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustrin...
Thanks for the link; this is indeed the sort of thing that I have in mind. Some observations:
- It doesn't seem to offer any complexity guarantees.
- It uses size_type to pass and return positions in the string, and doesn't specify whether these are byte or character positions; I get the impression that they're character positions but I could be wrong.
- It offers implicit conversion to and from std::string. Is this desirable?
Not at all desirable. But a str() function member is very welcome.
Regards, Phil.
Regards, -- Felipe Magno de Almeida