Debian Codegraph @

libstdc++-v3/testsuite/20_util/bitset/115098.cc

raw
1 // { dg-do compile { target c++11 } }
2
3 #include <bitset>
4
5 using namespace std;
6
7 static_assert( ! is_default_constructible<bitset<10>::reference>::value,
8 "std::bitset<N>::reference is not default constructible");
9
10 static_assert( ! is_constructible<bitset<10>::reference, bitset<10>&, size_t>::value,
11 "std::bitset<N>::reference is not default constructible");