[PATCH] D54806: [libcxx] Fix incorrect iterator type in vector container test.

Louis Dionne via Phabricator reviews at reviews.llvm.org
Wed Nov 21 12:00:58 PST 2018


ldionne requested changes to this revision.
ldionne added inline comments.
This revision now requires changes to proceed.


================
Comment at: test/std/containers/sequences/vector/vector.modifiers/insert_iter_iter_iter.pass.cpp:102
     {
-        std::vector<int, limited_allocator<int, 308> > v(100);
+        typedef std::vector<int, limited_allocator<int, 308>> test_vector_type;
+        test_vector_type v(100);
----------------
You need spaces between consecutive `>>`'s, otherwise the test won't pass in C++03 mode.


https://reviews.llvm.org/D54806





More information about the libcxx-commits mailing list