
14 Feb
2011
14 Feb
'11
3:51 p.m.
On 12 February 2011 13:19, Matus Chochlik <chochlik@gmail.com> 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@eviloverlord.com> (847) 691-1404