template bug ?

Alexandre Oliva oliva@dcc.unicamp.br
Thu Dec 3 14:57:00 GMT 1998


On Dec  3, 1998, Mark Mitchell <mark@markmitchell.com> wrote:

>>>>>> "Alexandre" == Alexandre Oliva <oliva@dcc.unicamp.br> writes:
Alexandre> Mark or Jason, do you feel like accepting such
Alexandre> specializations again?  They're definitely valid...

> We've been around and around on this, and I think we all agreed
> they're not.  As I recall, it's become clear that a member-declaration
> cannot be a specialization, judging from the grammar.

Unlike you, I couldn't find any such restriction in the grammar, and I
even found an example of an explicit specialization within a class
body in the Standard [temp.class.spec.mfunc]/2, so I have changed my
mind, and I hope you do too.

-- 
Alexandre Oliva  http://www.dcc.unicamp.br/~oliva  aoliva@{acm.org}
oliva@{dcc.unicamp.br,gnu.org,egcs.cygnus.com,samba.org}
Universidade Estadual de Campinas, SP, Brasil




More information about the Gcc-bugs mailing list