[Bug c++/35370] Visibility of member of base template class lacking in derived template class
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Feb 25 19:50:00 GMT 2008
------- Comment #2 from pinskia at gcc dot gnu dot org 2008-02-25 19:49 -------
GCC is correct, f is a not a dependent name so it has to be looked up at
parsing time and not at instaintation time.
>or, if this is in fact not legal, perhaps a more specific diagnostic message
This is the best error message you can give really as that would cost extra
compile time if not found.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35370
More information about the Gcc-bugs
mailing list