Hi Kim,

Sorry it took me a while to respond, I've been wrestling with OS
upgrade issues in my quest to try out GCC 4.5. See some of my thoughts
below.

On Fri, Oct 22, 2010 at 1:59 PM, Kim Gräsman <[email protected]> wrote:
> Hi Dean,
>
> On Fri, Oct 22, 2010 at 07:50, Dean Michael Berris
> <[email protected]> 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:
>

Cool, thanks!

> - http://conststring.sourceforge.net/

This one looks interesting. I wonder if it uses a shared_ptr
underneath though. I'll take a look at that implementation to see if
it fits with what I was thinking about.

> - http://www.codeproject.com/KB/string/fix_str.aspx
>

Yeah, this one isn't so idiomatic. I like the first one better.

> Maybe you can get some ideas from there.
>

Definitely, thanks for the pointers! :)

-- 
Dean Michael Berris
deanberris.com

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Cpp-netlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cpp-netlib-devel

Reply via email to