public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/10749: regression from 2.95.3: triple nested template classes in namespace need to qualify ns
@ 2003-05-12 13:16 meinlschmidt
0 siblings, 0 replies; only message in thread
From: meinlschmidt @ 2003-05-12 13:16 UTC (permalink / raw)
To: gcc-gnats
>Number: 10749
>Category: c++
>Synopsis: regression from 2.95.3: triple nested template classes in namespace need to qualify ns
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: rejects-legal
>Submitter-Id: net
>Arrival-Date: Mon May 12 13:16:01 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Stefan Meinlschmidt
>Release: g++ (GCC) 3.3 20030226 (prerelease) (SuSE Linux)
>Organization:
>Environment:
PC Linux SuSE 8.2 distro out-of-the-box
>Description:
namespace ns {
template<typename T> class Foo {
public:
template<typename U> class Bar;
};
template<typename T> template<typename U> class Foo<T>::Bar {
Foo<T> &works;
public:
template<typename V> class Baz;
};
template<typename T> template<typename U> template<typename V> class Foo<T>::B
ar<U>::Baz {
Foo<T> &chokes; // error: non-template type `Foo' used as a template
ns::Foo<T> &works;
};
}
>How-To-Repeat:
>Fix:
Workaround: Explicitely qualify namespace
or revert to stone knives aka 2.95
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-05-12 13:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-12 13:16 c++/10749: regression from 2.95.3: triple nested template classes in namespace need to qualify ns meinlschmidt
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).