91b3bfedf8
The solution with specializing std::iter_swap() for wxString::iterator was not conforming as the iterator was still not swappable, as it is required to be. Fix this by providing std::swap() overload for wxString::iterator, which is correct and even simpler. This allows std::reverse(s.begin(), s.end()) work with clang too and incidentally avoids warnings about the code relying on non-conforming extensions with MSVS 2017 which were due to the fact that iter_swap() workaround wasn't enabled for it, while the new swap() overload is. |
||
---|---|---|
.. | ||
crt.cpp | ||
hexconv.cpp | ||
iostream.cpp | ||
numformatter.cpp | ||
stdstrings.cpp | ||
strings.cpp | ||
tokenizer.cpp | ||
unichar.cpp | ||
unicode.cpp | ||
vararg.cpp | ||
vsnprintf.cpp |