[libcxx-commits] [PATCH] D122092: [libc++] `bitset::operator[] const` should return bool
Konstantin Varlamov via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Apr 1 22:51:14 PDT 2022
var-const added inline comments.
================
Comment at: libcxx/test/std/containers/sequences/vector.bool/const_reference.pass.cpp:16
+
+bool test() {
+ using CRefT = std::vector<bool>::const_reference;
----------------
philnik wrote:
> var-const wrote:
> > Optional nit: since this test isn't `constexpr`, it doesn't need to return anything -- unless you expect it to become `constexpr` at some future point?
> This test should become `constexpr` once we implement P1004R2.
In that case, can you please add a TODO?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D122092/new/
https://reviews.llvm.org/D122092
More information about the libcxx-commits
mailing list