[libcxx-commits] [libcxx] [libc++] Mark vector<bool>::at() as constexpr to conform to C++20 standard (PR #121848)
Peng Liu via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Jan 6 20:45:05 PST 2025
================
@@ -0,0 +1,42 @@
+//===----------------------------------------------------------------------===//
----------------
winner245 wrote:
Yeah, that's a bit strange. Following your suggestion, I've now strengthened the tests for `vector<bool>::at`, which now cover general functionality, return type, exception handling, and constexpr compliance for both the const and non-const overloads of the `at` function.
https://github.com/llvm/llvm-project/pull/121848
More information about the libcxx-commits
mailing list