[libcxx-commits] [libcxx] [libc++] Implement C++29 Bit Permutations P3104R6 (PR #217820)
A. Jiang via libcxx-commits
libcxx-commits at lists.llvm.org
Sun Sep 27 07:36:03 PDT 2026
================
----------------
frederick-vs-ja wrote:
I think this test file should be refactored into the conventional style, where each `expr_i` is an expression that should be verified at both constant evaluation and run time.
```c++
// #include <...>
#include <cassert>
// #include <...>
constexpr bool test() {
// ...
assert(expr_1);
// ...
assert(expr_n);
return true;
}
int main(int, char**) {
test();
static_cast(test());
return 0;
}
```
https://github.com/llvm/llvm-project/pull/217820
More information about the libcxx-commits
mailing list