Debian Codegraph @

libstdc++-v3/testsuite/20_util/pair/requirements/structural.cc

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