Boost logo

Boost :

Subject: Re: [boost] [string] proposal
From: Beman Dawes (bdawes_at_[hidden])
Date: 2011-01-21 15:29:09


On Fri, Jan 21, 2011 at 12:53 PM, Dave Abrahams <dave_at_[hidden]> wrote:
> At Fri, 21 Jan 2011 12:50:36 -0500,
> Beman Dawes wrote:
>>
>> I really doubt any proposal will get taken very seriously is it only
>> supports one of the UTF encodings.
>
> That is not necessarily the same as saying there needs to be a string
> class for each of the UTF- encodings.

Agreed.

Without knowing exactly what functionality is to be supported for each
UTF string, I find it hard to know if one basic_utf_string template
could cover the most critical cases. Would a template be able to
support random access iterators for the variable length encodings, for
example? I just don't know.

--Beman


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