From -686164318673849814
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,c45bddfadd5b4855
X-Google-Attributes: gidf78e5,public
X-Google-ArrivalTime: 1994-09-08 09:31:00 PST
Newsgroups: comp.std.c++
Path: nntp.gmd.de!xlink.net!slsv6bt!slbh01.bln.sel.alcatel.de!rcvie!Austria.EU.net!EU.net!uunet!news.cygnus.com!news!jason
From: jason@cygnus.com (Jason Merrill)
Subject: Re: C++ templates standard
In-Reply-To: jr@grenoble.hp.com's message of Tue, 6 Sep 1994 11:54:08 GMT
Content-Type: text/plain; charset=US-ASCII
Message-ID: <JASON.94Sep7141307@deneb.cygnus.com>
Sender: news@cygnus.com
Nntp-Posting-Host: deneb.cygnus.com
Organization: Cygnus Support, Mountain View, CA
References: <CvpIE8.K1@hpgndlab.grenoble.hp.com>
Mime-Version: 1.0
Date: Wed, 7 Sep 1994 21:13:07 GMT
Lines: 9

>>>>> Jean-Rene Bouvier <jr@grenoble.hp.com> writes:

> I've tried several compilers for the following piece of code, but none
> accepted it.
> Does anyone know whether my code is legal or not ?

It isn't.  Class templates cannot be nested.

Jason


