public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/21783] New: No typedef required when type use in a function
@ 2005-05-27 14:40 florent dot gallet at orange dot fr
  2005-06-07 19:07 ` [Bug c++/21783] [DR 409] Typename for required for qualified name? reichelt at gcc dot gnu dot org
  0 siblings, 1 reply; 3+ messages in thread
From: florent dot gallet at orange dot fr @ 2005-05-27 14:40 UTC (permalink / raw)
  To: gcc-bugs

template<class T> struct A {
  typedef int B;
  void f(typename A::B);    // illformed: typename required before A::B 
  A::B b;          // ok error detected
};

It's in the DRAFT: 25 November 1997
14.6 Name resolution

I don't know if that changed.
If someone could confirm.

-- 
           Summary: No typedef required when type use in a function
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: florent dot gallet at orange dot fr
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21783


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-11-08  4:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-21783-9140@http.gcc.gnu.org/bugzilla/>
2009-03-03 21:30 ` [Bug c++/21783] [DR 409] Typename for required for qualified name? jason at gcc dot gnu dot org
2009-11-08  4:07 ` jason at gcc dot gnu dot org
2005-05-27 14:40 [Bug c++/21783] New: No typedef required when type use in a function florent dot gallet at orange dot fr
2005-06-07 19:07 ` [Bug c++/21783] [DR 409] Typename for required for qualified name? reichelt at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).