Am Dienstag, 14. November 2006 20:21 schrieb Peter Kümmel: > As I understand it now, to_utf8 creates a std::string which > gets destroyed after construction. And the ctor of Tokenizer > doesn't make a deep copy of the string, it only stores iterators.
That explanation makes sense. I understand the reasons to not make a copy, but this is dangerous nevertheless. getParams() works, because it returns a reference. Georg