|
Boost : |
From: Felipe Magno de Almeida (felipe.m.almeida_at_[hidden])
Date: 2008-03-04 04:27:52
On Tue, Mar 4, 2008 at 6:11 AM, Phil Endecott
<spam_from_boost_dev_at_[hidden]> 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_1ustring.html
>
> 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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk