public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: Gabriel Dos Reis <gdr@integrable-solutions.net>
To: gdr@gcc.gnu.org
Cc: gcc-prs@gcc.gnu.org,
Subject: Re: c++/7606: GCC interprets wrong.
Date: Fri, 16 Aug 2002 05:33:00 -0000	[thread overview]
Message-ID: <20020816122601.13121.qmail@sources.redhat.com> (raw)

The following reply was made to PR c++/7606; it has been noted by GNATS.

From: Gabriel Dos Reis <gdr@integrable-solutions.net>
To: comer@pisem.net
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: c++/7606: GCC interprets wrong.
Date: 16 Aug 2002 14:21:48 +0200

 comer@pisem.net writes:
 
 [...]
 
 | >Class:          accepts-illegal
 
 Your code was perfectly well-formed and GCC was right in accepting it.
 Koenig lookup considers, among others things, the classes and
 namespaces associated with type template-arguments.  See 3.4.2/2:
 
     [...]
     If T is a template-id, its associated namespaces and classes are the
     namespace in which the template is defined; for member templates, the
     member template s class; the namespaces and classes associated with
     the types of the template arguments provided for template type
     parameters (excluding template template parameters); the namespaces in
     which any template template arguments are defined; and the classes in
     which any member templates used as template template arguments are
     defined. 
 
 -- Gaby


             reply	other threads:[~2002-08-16 12:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-16  5:33 Gabriel Dos Reis [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-08-16  5:26 gdr
2002-08-15 14:16 comer

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=20020816122601.13121.qmail@sources.redhat.com \
    --to=gdr@integrable-solutions.net \
    --cc=gcc-prs@gcc.gnu.org \
    --cc=gdr@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).