https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99493

--- Comment #2 from Johel Ernesto Guerrero Peña <johelegp at gmail dot com> ---
Looks like you can get away by instead passing around a pointer to the address
of the template parameter object: https://godbolt.org/z/o3Paz1.
```C++
struct A{};
template<A a>constexpr const A*tpo{&a};
constexpr A ga{};
template<const A*const*a>requires(a==&tpo<ga>)struct B{};
[[maybe_unused]]B<&tpo<A{}>>b;
```

Reply via email to