[Bug c++/111463] Access error in instantiation of template class, incorrectly using inherited constructor of wrong type
bckempa at iastate dot edu
gcc-bugzilla@gcc.gnu.org
Mon Mar 2 17:37:21 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111463
Brian Kempa <bckempa at iastate dot edu> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #2 from Brian Kempa <bckempa at iastate dot edu> ---
The unqualified lookup for `Manager` can be resolved either with explicit
visibility of the inheritance:
`class Base : public Manager<EventA> {};`
Or, qualifying the name:
`using Foo = ::Manager<T>;`
More information about the Gcc-bugs
mailing list