public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: Detlef Vollmann <dv@vollmann.ch> To: gcc-gnats@gcc.gnu.org Subject: c++/7641: friend declaration of nested types doesn't compile Date: Mon, 19 Aug 2002 18:06:00 -0000 [thread overview] Message-ID: <200208200027.g7K0RJ303451@octo.vollmann.ch> (raw) >Number: 7641 >Category: c++ >Synopsis: friend declaration of nested types doesn't compile >Confidential: no >Severity: critical >Priority: medium >Responsible: unassigned >State: open >Class: rejects-legal >Submitter-Id: net >Arrival-Date: Mon Aug 19 17:36:00 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Detlef Vollmann >Release: 3.3 20020816 (experimental) >Organization: vollmann engineering gmbh >Environment: System: Linux octo 2.4.18-xfs-1.1 #1 Mon Jul 1 05:12:32 MEST 2002 i686 unknown Architecture: i686 host: i686-pc-linux-gnu build: i686-pc-linux-gnu target: i686-pc-linux-gnu configured with: /dwarf/pdsrc/gcc/cvs/gcc/configure --program-suffix=-3 --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-version-specific-runtime-libs --enable-languages=c,c++ >Description: The example code from the standard 14.5.3p6 doesn't compile. >How-To-Repeat: g++ -c friend.cpp >Fix: friend.cpp: // template friend problem template<class T> struct A { struct B { }; void f(); }; class C { template<class T> friend struct A<T>::B; template<class T> friend void A<T>::f(); }; >Release-Note: >Audit-Trail: >Unformatted:
next reply other threads:[~2002-08-20 0:36 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-08-19 18:06 Detlef Vollmann [this message] 2002-08-19 23:06 Andrew Pinski 2002-12-01 6:46 Kriang Lerdsuwanakij 2003-01-28 17:04 bangerth
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=200208200027.g7K0RJ303451@octo.vollmann.ch \ --to=dv@vollmann.ch \ --cc=gcc-gnats@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).