1 //===----------------------------------------------------------------------===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // bitset<N>& reset(); // constexpr since C++23
15 #include "test_macros.h"
17 template <std::size_t N
>
18 TEST_CONSTEXPR_CXX23
void test_reset_all() {
22 for (std::size_t i
= 0; i
< v
.size(); ++i
)
26 TEST_CONSTEXPR_CXX23
bool test() {
35 test_reset_all
<1000>();
40 int main(int, char**) {
43 static_assert(test());