Re: [Bug c++/22154] New: [DR 382] qualified names should allow typename keyword in front of it (even in non-templates)

2005-06-23 Thread Gabriel Dos Reis
pinskia at gcc dot gnu dot org [EMAIL PROTECTED] writes: | The following should compile according to this DR report (but it is only in ready state so I am going to | confirm it and then suspend it): | class a {}; | typename ::a f(); | | Also the following should not compile as a is not

[Bug c++/22154] New: [DR 382] qualified names should allow typename keyword in front of it (even in non-templates)

2005-06-22 Thread pinskia at gcc dot gnu dot org
The following should compile according to this DR report (but it is only in ready state so I am going to confirm it and then suspend it): class a {}; typename ::a f(); Also the following should not compile as a is not qualified then: class a {}; typename a f(); -- Summary: [DR 382]