public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/14258] typename in a using declaration not supported
Date: Wed, 22 Jan 2014 11:15:00 -0000	[thread overview]
Message-ID: <bug-14258-4-0MhIaNRkB8@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-14258-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #19 from Jonathan Wakely <redi at gcc dot gnu.org> ---
That example's a bit misleading, because 'int' really isn't a class, namespace
or enumeration, but the error's wrong because there could be a specialization
of A<>, and the same error is produced even if A<T>::type is a class type.

Fabien, the fix doesn't seem to work with nested-name-specifiers, do you
remember if there's another bug report about that case?


  parent reply	other threads:[~2014-01-22 11:15 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-14258-4@http.gcc.gnu.org/bugzilla/>
2010-11-29 19:21 ` pinskia at gcc dot gnu.org
2010-12-01 15:47 ` pinskia at gcc dot gnu.org
2011-12-13 19:10 ` fabien at gcc dot gnu.org
2011-12-13 19:34 ` fabien at gcc dot gnu.org
2012-01-03  9:58 ` fabien at gcc dot gnu.org
2012-03-19 16:51 ` redi at gcc dot gnu.org
2014-01-22 10:26 ` pipping at exherbo dot org
2014-01-22 11:15 ` redi at gcc dot gnu.org [this message]
2014-01-22 11:18 ` fabien at gcc dot gnu.org
2014-01-22 11:59 ` pipping at exherbo dot org
2014-01-22 12:03 ` pipping at exherbo dot org
     [not found] <bug-14258-7614@http.gcc.gnu.org/bugzilla/>
2007-05-06 22:31 ` pinskia at gcc dot gnu dot org
2007-05-07 12:04 ` rleigh at debian dot org
2008-02-16 19:28 ` starlight at binnacle dot cx
2008-08-16 20:04 ` pinskia at gcc dot gnu dot org
2010-06-07 12:43 ` fabien at gcc dot gnu dot org
2004-02-23 13:29 [Bug c++/14258] New: using typename (only when necessary) in a using declaration reports bogus error japple at freeshell dot org
2004-03-30  1:19 ` [Bug c++/14258] typename in a using declaration not supported giovannibajo at libero dot it
2004-11-18 12:26 ` pinskia at gcc dot gnu dot org
2005-05-10 17:42 ` 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=bug-14258-4-0MhIaNRkB8@http.gcc.gnu.org/bugzilla/ \
    --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: link
Be 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).