[PATCH] D22584: constexpr array support C++1z (P0031)

Marshall Clow via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 31 21:06:23 PDT 2016


mclow.lists added a comment.

Other than the iterator.primitives/iterator.operations/prev.pass.cpp test, I think this is good to go.


================
Comment at: test/std/iterators/iterator.primitives/iterator.operations/prev.pass.cpp:47
@@ +46,3 @@
+
+    {
+        constexpr const char* s = "1234567890";
----------------
Won't this fail on C++11 (i.e, doesn't it need a `#if TEST_STD_VER > 14`)?



https://reviews.llvm.org/D22584





More information about the cfe-commits mailing list