Subject: Re: [boost] [UTF String] UTF String library 1.5 ready for perusal
From: Nevin Liber (nevin_at_[hidden])
Date: 2011-02-14 10:51:46
On 12 February 2011 13:19, Matus Chochlik <chochlik_at_[hidden]> wrote:
> How about size() returning the required storage size for the string as
> in number of bytes and length() returning the number of code points?
Please pick a different name. size() and length() are synonyms as far as
std::string is concerned; changing that would cause needless frustration for
users migrating to a different string class.
-- Nevin ":-)" Liber <mailto:nevin_at_[hidden]> (847) 691-1404
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk