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++/21682] Disallowed using declaration Date: Sat, 21 May 2005 14:35:00 -0000 [thread overview] Message-ID: <20050521143541.8078.qmail@sourceware.org> (raw) In-Reply-To: <20050520171304.21682.dave@boost-consulting.com> ------- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-21 14:35 ------- Confirmed, reduced testcase (which shows the problem): template <class T> struct t { typedef typename T::type type; }; template<> class t<int>{}; template <class T> struct t1{ }; template<> struct t1<int> { typedef int type; }; namespace name1 { template <class S> typename t<S>::type begin(S const& s); namespace name2 { template <class S> typename t1<S>::type begin(S const& s); } using name2::begin; } /* Test calling the function. */ int f(int a) { return name1::begin(a); } struct aa { typedef double type; }; double g(aa t) { return name1::begin(t); } -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed| |1 Keywords| |rejects-valid Last reconfirmed|0000-00-00 00:00:00 |2005-05-21 14:35:40 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21682
next prev parent reply other threads:[~2005-05-21 14:35 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-05-20 17:13 [Bug c++/21682] New: " dave at boost-consulting dot com 2005-05-20 17:14 ` [Bug c++/21682] " dave at boost-consulting dot com 2005-05-21 14:35 ` pinskia at gcc dot gnu dot org [this message] [not found] <bug-21682-501@http.gcc.gnu.org/bugzilla/> 2006-03-10 9:38 ` pcarlini at suse dot de 2009-03-03 19:34 ` jason at gcc dot gnu dot org 2009-03-03 21:12 ` dave at boost-consulting dot com 2009-03-03 22:32 ` jason at gcc dot gnu dot org [not found] <bug-21682-4@http.gcc.gnu.org/bugzilla/> 2013-09-01 13:42 ` paolo.carlini at oracle dot com 2013-09-02 9:42 ` paolo at gcc dot gnu.org 2013-09-02 9:44 ` paolo.carlini at oracle dot com
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=20050521143541.8078.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).