wxWidgets/tests/strings
Vadim Zeitlin 91b3bfedf8 Fix using std::reverse() with wxString iterators in a proper way
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.
2019-04-26 03:20:38 +02:00
..
crt.cpp Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
hexconv.cpp Pass arguments of the same type to CPPUNIT_ASSERT_EQUAL 2017-07-30 09:56:43 +02:00
iostream.cpp Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
numformatter.cpp Add wxOVERRIDE to test files 2018-07-29 12:08:53 +02:00
stdstrings.cpp Fix using std::reverse() with wxString iterators in a proper way 2019-04-26 03:20:38 +02:00
strings.cpp Suppress all -Wmissing-field-initializers in the test suite 2019-02-02 17:25:37 +01:00
tokenizer.cpp Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
unichar.cpp Add wxOVERRIDE to test files 2018-07-29 12:08:53 +02:00
unicode.cpp Fix a unit test in UTF-8 build using UTF-8 strings only 2017-11-03 23:11:32 +01:00
vararg.cpp Add support for passing nullptr to wx pseudo-vararg functions 2019-03-09 01:14:31 +01:00
vsnprintf.cpp Add more wxOVERRIDE 2018-09-22 14:44:07 +02:00