$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Sebastian Redl (sebastian.redl_at_[hidden])
Date: 2006-04-27 13:39:06
Kobi Cohen-Arazi wrote:
> Just to make sure I wrote it right. My Foo::get is
>
> const std::string& Foo::get () cosnt {...}
>
> So it is a const func and it returns const &, so I can't see a way
> that string::replace may alter that string without having any kind of
> trick (wrapper func etc ...) but tell me what you think about that.
OK, in that case you're right. Your original posting had get as
std::string Foo::get() const;
I'll have to consider the other problem, but for today I'm sick of coding.
Sebastian