Sign in
gnu
/
gcc
/
trunk
/
.
/
libstdc++-v3
/
testsuite
/
std
/
memory
/
indirect
/
124890.cc
blob: ce44256f224488a2c029abe16a547f2657c6e611 [
file
]
// { dg-do compile { target c++26 } }
// PR libstdc++/124890 - Circular constraint in std::indirect::operator==
#include
<memory>
#include
<vector>
using
I
=
std
::
vector
<
std
::
indirect
<int>
>::
iterator
;
static_assert
(
std
::
totally_ordered
<
I
>);