Q: enum within template class

Alexandre Oliva oliva@dcc.unicamp.br
Thu Oct 8 09:35:00 GMT 1998


Vanja Cvjetko <vcvjetko@tel.hr> writes:

> /home/gcl/gcl/example/Tests/egcs-1.1b/BUG_enum_within_class_template.cpp:67:
> new declaration `enum X<T>::Something X<T>::x_something() const'
> /home/gcl/gcl/example/Tests/egcs-1.1b/BUG_enum_within_class_template.cpp:48:
> ambiguates old declaration `const enum X<T>::Something
> X<T>::x_something() const'

thanks for your bug report.  This problem is fixed in the latest egcs
snapshot.

-- 
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:oliva@gnu.org mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil




More information about the Gcc-bugs mailing list