public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/10849: [3.3/3.4 regression] Cannot define an out-of-class specialization of a private nested template class
@ 2003-05-18 22:08 giovannibajo
  0 siblings, 0 replies; 2+ messages in thread
From: giovannibajo @ 2003-05-18 22:08 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, giovannibajo, lerdsuwa, nobody, olau

Synopsis: [3.3/3.4 regression] Cannot define an out-of-class specialization of a private nested template class

Responsible-Changed-From-To: unassigned->lerdsuwa
Responsible-Changed-By: bajo
Responsible-Changed-When: Sun May 18 22:08:52 2003
Responsible-Changed-Why:
    Kriang said that he will take care of this.
State-Changed-From-To: open->analyzed
State-Changed-By: bajo
State-Changed-When: Sun May 18 22:08:52 2003
State-Changed-Why:
    Already analyzed by Gaby and Kriang, and reconfirmed by me.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10849


^ permalink raw reply	[flat|nested] 2+ messages in thread
* c++/10849: [3.3/3.4 regression] Cannot define an out-of-class specialization of a private nested template class
@ 2003-05-18 21:56 giovannibajo
  0 siblings, 0 replies; 2+ messages in thread
From: giovannibajo @ 2003-05-18 21:56 UTC (permalink / raw)
  To: gcc-gnats; +Cc: olau


>Number:         10849
>Category:       c++
>Synopsis:       [3.3/3.4 regression] Cannot define an out-of-class specialization of a private nested template class
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          rejects-legal
>Submitter-Id:   net
>Arrival-Date:   Sun May 18 21:56:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Giovanni Bajo
>Release:        3.3 and 3.4 (CVS 20030503)
>Organization:
>Environment:
i686-pc-cygwin
>Description:
Reported by Ole Laursen here:
http://gcc.gnu.org/ml/gcc/2003-05/msg01686.html

---------------------------------------------
class X
{
private:
    template <typename T> struct Y;
};

template <> 
struct X::Y<int>
{};
---------------------------------------------
gccbug5.cpp:4: error: `template<class T> struct X::Y' is private
gccbug5.cpp:9: error: within this context

Regression on the 3.3 branch and mainline (3.2.2 and 2.95
worked fine).
>How-To-Repeat:
Compile the above snippet
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-05-18 22:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-18 22:08 c++/10849: [3.3/3.4 regression] Cannot define an out-of-class specialization of a private nested template class giovannibajo
  -- strict thread matches above, loose matches on Subject: below --
2003-05-18 21:56 giovannibajo

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