[Bug c++/21783] No typename required when type use in a function

2005-06-07 Thread reichelt at gcc dot gnu dot org
--- Additional Comments From reichelt at gcc dot gnu dot org 2005-06-07 17:07 --- Confirmed. It's in the standard from 1998: [14.6]/6 -- What|Removed |Added

[Bug c++/21783] No typename required when type use in a function

2005-06-07 Thread giovannibajo at libero dot it
--- Additional Comments From giovannibajo at libero dot it 2005-06-07 18:45 --- There is a DR and surely another bug report about this. It's uncertain whether typename is needed to disambiguate a qualified name where the scope is the injected class name (which always refers to the

[Bug c++/21783] No typename required when type use in a function

2005-05-27 Thread florent dot gallet at orange dot fr
-- What|Removed |Added Summary|No typedef required when|No typename required when |type use in a function |type use in a function

[Bug c++/21783] No typename required when type use in a function

2005-05-27 Thread florent dot gallet at orange dot fr
--- Additional Comments From florent dot gallet at orange dot fr 2005-05-27 14:42 --- It's that, that shouldn't work : void f(A::B);// illformed: typename required before A::B -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21783

[Bug c++/21783] No typename required when type use in a function

2005-05-27 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-27 14:48 --- This is weird because both ICC and Comeau accept this too (even in strict mode). -- What|Removed |Added

[Bug c++/21783] No typename required when type use in a function

2005-05-27 Thread florent dot gallet at orange dot fr
--- Additional Comments From florent dot gallet at orange dot fr 2005-05-27 15:01 --- I only have the DRAFT, so I don't know if it's really a bug. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21783

[Bug c++/21783] No typename required when type use in a function

2005-05-27 Thread florent dot gallet at orange dot fr
--- Additional Comments From florent dot gallet at orange dot fr 2005-05-27 15:23 --- Tested with VC++ 2003: SansNom1.cpp(7) : warning C4346: 'AT::B' : dependent name is not a type prefix with 'typename' to indicate a type SansNom1.cpp(9) : see reference to class

[Bug c++/21783] No typename required when type use in a function

2005-05-27 Thread florent dot gallet at orange dot fr
--- Additional Comments From florent dot gallet at orange dot fr 2005-05-27 15:25 --- (sorry, the line number are wrong, begin at 5) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21783