☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
libstdc++-v3
/
testsuite
/
20_util
/
pair
/
requirements
/
structural.cc
☽
☼
libstdc++-v3/testsuite/20_util/pair/requirements/structural.cc
code
plain
raw
1
// { dg-do compile { target c++20 } }
2
3
#include <utility>
4
5
// C++20 20.4.2 [pairs.pair]
6
// pair<T, U> is a structural type (13.2) if T and U are both structural types.
7
8
template<std::pair<int, int>> struct S; // PR libstdc++/97930