We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94909a3 commit a7ed542Copy full SHA for a7ed542
libcxx/test/std/utilities/intseq/intseq.binding/structured_binding.pass.cpp
@@ -22,13 +22,12 @@
22
23
template <typename...>
24
void test_structured_bindings() {
25
- constexpr static auto [... empty] = std::make_index_sequence<0>();
+ auto [... empty] = std::make_index_sequence<0>();
26
static_assert(sizeof...(empty) == 0);
27
28
- constexpr static auto [... size4] = std::make_index_sequence<4>();
+ auto [... size4] = std::make_index_sequence<4>();
29
static_assert(sizeof...(size4) == 4);
30
31
- // these cannot yet be static_asserts
32
assert(size4...[0] == 0);
33
assert(size4...[1] == 1);
34
assert(size4...[2] == 2);
0 commit comments