[Bug c++/87750] [8/9 Regression] Failed compilation / parsing of template member call after 'using' declaration
aoliva at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Nov 29 07:49:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87750
Alexandre Oliva <aoliva at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |aoliva at gcc dot gnu.org
--- Comment #5 from Alexandre Oliva <aoliva at gcc dot gnu.org> ---
The problem is that, in the presence of a template-dependent USING_DECL,
overloaded functions are dropped from the bindings and from lookup results: we
get only the USING_DECL in the value binding, and from the absence of template
functions in an overload set, we decide the looked up name cannot be a template
function in cp_parser_template_name.
More information about the Gcc-bugs
mailing list