[PATCH] D54838: [libcxx] Fix order checking in unordered_multimap tests.

Louis Dionne via Phabricator reviews at reviews.llvm.org
Mon Nov 26 11:45:18 PST 2018


ldionne requested changes to this revision.
ldionne added a comment.
This revision now requires changes to proceed.

Please make sure you can run the test suite with your patch in C++03 mode.



================
Comment at: test/std/containers/unord/unord.multimap/reserve.pass.cpp:31
+    {
+        std::set<std::string> s = {"one", "four"};
+        assert(s.find(c.find(1)->second) != s.end());
----------------
This is going to fail in C++03 mode because you're using initializer-list construction.


Repository:
  rCXX libc++

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D54838/new/

https://reviews.llvm.org/D54838





More information about the libcxx-commits mailing list