https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127643
Bug ID: 127643
Summary: `members_of` returns a templated constructor more than
once
Product: gcc
Version: 16.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: pdimov at gmail dot com
Target Milestone: ---
Given the following struct,
```
struct X
{
template<class T1, class T2> X( T1, T2 );
};
```
`members_of(^^X, std::meta::access_context::unchecked())` contains the `info`
for the templated constructor three times, instead of just once
(https://godbolt.org/z/endTceEnf).
This doesn't happen with other members, for example templated member functions.