Boost logo

Boost :

From: David B. Held (dheld_at_[hidden])
Date: 2002-10-03 14:58:38

"Bohdan" <warever_at_[hidden]> wrote in message
> [...]
> Still do not understand. Maybe name immutable_string isn't ok.
> immutable_string instance can be modified as with normal string:
> <code>
> void f( immutable_string & str )
> {
> str = "something else";
> }
> </code>

Oh, I see. I thought the strings themselves were also const. That is
sufficient for what I'd like to do. Otherwise, my comment about COW
was to implement exactly that. ;)


Boost list run by bdawes at, gregod at, cpdaniel at, john at