string STL compatibility ?

Christoph Borgolte cb at delta-h.de
Thu Apr 26 06:32:58 PDT 2007


>In Unicode mode you should use std::wstring, of course.

Yes, but that only shifts the problem of conversion to the stdlib.
If you have to work with legacy code and don't want to reimplement
everything you have to do a transformation from ascii to unicode.
Having an operator=(const std::string&) using the FromAscii()-method or
something similar would be helpful in that case.






More information about the wx-users mailing list