none
Alexandre Oliva
oliva@dcc.unicamp.br
Thu Mar 19 21:42:00 GMT 1998
Mike Shirobokov writes:
> egcs_bug.cc: In function `int main()':
> egcs_bug.cc:13: no matching function for call to `B<int>::a ()'
> egcs_bug.cc:8: candidates are: B<int>::a(int)
This is correct. The declaration of B<int>::a(int) hides any entities
named `a' from its base classes, unless they're un-hidden by `using'
declaration or access specifiers in B<int>.
--
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil
--VAA24050.890372448/cygnus.com--
More information about the Gcc-bugs
mailing list