| delorie.com/archives/browse.cgi | search |
| From: | bonnaud AT irisa DOT fr (Laurent Bonnaud) |
| Subject: | b18: g++ internal compiler error with nested template classes |
| 13 Jun 1997 19:31:52 -0700 : | |
| Approved: | cygnus DOT gnu-win32 AT cygnus DOT com |
| Distribution: | cygnus |
| Message-ID: | <wjx4tb274fc.fsf.cygnus.gnu-win32@coelacanthe.irisa.fr> |
| Original-To: | gnu-win32 AT cygnus DOT com |
| X-Attribution: | Laurent |
| X-Mailer: | Gnus 5.4 - Emacs 19.34 |
| Original-Sender: | owner-gnu-win32 AT cygnus DOT com |
This simple example makes g++ crash:
template <class T>
class A
{
public:
class B;
};
template <class T>
class A<T>::B
{
public:
friend class A<T>;
};
--
Laurent.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |