Files
wxWidgets/tests
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
..
2018-09-22 14:44:07 +02:00
2018-09-22 14:44:07 +02:00
2019-04-21 02:03:32 +02:00
2018-09-22 14:44:07 +02:00
2018-09-22 14:44:07 +02:00
2018-09-22 14:44:07 +02:00
2018-09-22 14:44:07 +02:00
2018-07-29 12:08:53 +02:00
2018-09-22 14:44:07 +02:00
2019-01-14 23:39:02 +01:00
2018-09-22 14:44:07 +02:00
2019-04-21 02:09:42 +02:00
2018-09-22 14:44:07 +02:00
2018-09-19 22:01:17 +02:00
2018-09-22 14:44:07 +02:00
2018-07-29 12:08:53 +02:00
2018-09-22 14:44:07 +02:00
2018-01-29 00:48:56 +01:00
2018-11-25 21:29:38 +01:00
2018-09-22 14:44:07 +02:00
2018-07-29 12:08:53 +02:00
2018-09-22 14:44:07 +02:00
2019-01-05 23:33:35 +01:00
2018-09-22 14:44:07 +02:00
2018-07-29 12:08:53 +02:00
2015-03-19 21:46:05 +01:00
2019-03-20 17:07:39 -05:00