rogfer01 added inline comments.
================ Comment at: test/libcxx/strings/iterators.exceptions.pass.cpp:29 +#ifndef TEST_HAS_NO_EXCEPTIONS +constexpr bool expected = false; +#else ---------------- EricWF wrote: > We can't use constexpr because these tests run in C++03. However `const bool > expected = ...` should give you a value you can use in constant expressions. Ah, I was confused by the usage of C++11 headers in this file but I will use a `static const bool` instead. Thanks. https://reviews.llvm.org/D27310 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits