[Bug c++/107771] Cannot resolve templated conversion operator in templated struct

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Nov 20 19:28:53 GMT 2022


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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Reduced testcase:
```
struct bind_in
{
    template <typename R>
    operator R const& () const;
}a;
int x(void) {
    return a;
}

```


More information about the Gcc-bugs mailing list