On Wed, 18 Jul 2007 16:16:49 +0300, Jon Keating <[EMAIL PROTECTED]> wrote:
On Wednesday 18 July 2007 18:07, Erik Johansson wrote:
If it crashes when using a reference, something must serious wrong
with his compiler. After all, the string is copied (again) when it is
added to the map.
Yes, that is right. I need to get a backtrace to find out what is going
on.
I'll switch it back to const std::string& in the morning.
Since Erik persuades this is the wrong approach, let's of course do it the
proper way. ;-) I will have to make a new clean test after it is changed
back.
--
Eugene Paskevich | *==)----------- | Plug me into
[EMAIL PROTECTED] | -----------(==* | The Matrix