[wx-dev] Re: #9672: wx 2.9 Ansi/Unicode Combi-wxString breaks compatibility with std::[w]string and introduces subtle errors

Vadim Zeitlin vadim at wxwidgets.org
Wed Jul 2 07:25:28 PDT 2008


On Wed, 02 Jul 2008 15:51:02 +0200 Robert Roebling wrote:

RR> I'm talking about the implicit conversion, nothing else.

 Maybe I misunderstood what you propose to do but AFAICS doing anything
along the lines will simply bring us back to the old ANSI/Unicode build
dichotomy.

 And, forgetting the general philosophical discussions about the goodness
or evilness of wchar_t, I'd like to remind that the concrete problem at
hand stems from the fact that wxString::iterator::value_type is not wchar_t
and this has nothing to do with the presence or absence of conversions:
this value_type must be a proxy type and not just wchar_t for UTF-8 build
to work as you don't have any wchar_t to modify in this case.

 Regards,
VZ



More information about the wx-dev mailing list