public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/15453] Friend declaration not treated as a declaration in scope. Date: Sat, 15 May 2004 18:42:00 -0000 [thread overview] Message-ID: <20040515034940.22522.qmail@sourceware.org> (raw) In-Reply-To: <20040515033804.15453.igodard@pacbell.net> ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-05-15 03:49 ------- I had forgot to give a little better example (which is the one which works for ICC): template<typename G, template<typename H> class I> class J; template<typename C, template<typename D> class B> class F { template<typename G, template<typename H> class I = B> friend class J; template<typename K, template<typename L> class M = B> friend class N; friend class O; J<int, B>* j; N<int, B>* n; O* o; }; int main() { return 0; } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15453
next prev parent reply other threads:[~2004-05-15 3:49 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-05-15 18:25 [Bug c++/15453] New: " igodard at pacbell dot net 2004-05-15 18:41 ` [Bug c++/15453] " pinskia at gcc dot gnu dot org 2004-05-15 18:42 ` pinskia at gcc dot gnu dot org [this message] 2004-05-15 21:48 ` [Bug c++/15453] Friend declaration " giovannibajo at libero dot it 2004-05-15 21:57 ` giovannibajo at libero dot it 2004-08-12 0:58 ` pinskia at gcc dot gnu dot org 2004-10-13 15:21 ` lerdsuwa at gcc dot gnu dot org 2004-12-28 15:30 ` lerdsuwa at gcc dot gnu dot org 2005-05-22 11:44 ` lerdsuwa at gcc dot gnu dot org 2005-05-22 14:06 ` pinskia at gcc dot gnu dot org
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=20040515034940.22522.qmail@sourceware.org \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@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).