From: Kim G. <kim...@gm...> - 2010-10-22 05:59:57
|
Hi Dean, On Fri, Oct 22, 2010 at 07:50, Dean Michael Berris <mik...@gm...> wrote: > > Someday when my development machine, time, and other things permit, I > might work on an immutable string class -- similar to what the D > programming language has -- as a replacement to std::string. Although > std::string is the standard, I don't mind writing a better string > class at some point that "does the right thing". I went looking a couple of months ago and found two -- one STL-style and one less idiomatic: - http://conststring.sourceforge.net/ - http://www.codeproject.com/KB/string/fix_str.aspx Maybe you can get some ideas from there. Cheers, - Kim |