public inbox for
help / color / mirror / Atom feed
From: Matthias Klose <doko@net.local>
Subject: c++/10887: [3.3/3.4 regression] specialization of private members structs fails
Date: Tue, 20 May 2003 21:36:00 -0000	[thread overview]
Message-ID: <> (raw)

>Number:         10887
>Category:       c++
>Synopsis:       [3.3/3.4 regression] specialization of private members structs fails
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          rejects-legal
>Submitter-Id:   net
>Arrival-Date:   Tue May 20 21:36:00 UTC 2003
>Originator:     Herbert Valerio Riedel <>
>Release:        3.3 (Debian) (Debian testing/unstable)
The Debian Project
 [ Reported to the Debian BTS as report #193830.
   Please CC on replies.
   Log of report can be found at ]

3.3 and 3.4 CVS 20030501 fail to compile the following code (which
would compile with previous g++ versions):

$ cat
class Foo {
  template <class T> struct InFoo;

struct Foo::InFoo<int> {
    // ...
$ g++ -c error: `template<class T> struct Foo::InFoo' is private error: within this context


             reply	other threads:[~2003-05-20 21:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-20 21:36 Matthias Klose [this message]
2003-05-20 21:46 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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \
    --to=doko@net.local \ \ \ \

* 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).