home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!corton!seti!goudurix.inria.fr!edelson
- From: daniel.edelson@inria.fr (Daniel R. Edelson)
- Newsgroups: comp.std.c++
- Subject: Re: name of class as name of nonconstructor member
- Message-ID: <4016@seti.UUCP>
- Date: 22 Jul 92 09:22:18 GMT
- References: <4011@seti.UUCP>
- Sender: news@seti.UUCP
- Reply-To: Daniel R. Edelson <daniel.edelson@inria.fr>
- Organization: INRIA -- Institut National de Recherche en Informatique et Automatique -- Rocquencourt, France
- Lines: 10
-
- In article <4011@seti.UUCP>, daniel.edelson@inria.fr (Daniel R. Edelson) writes:
- |> I think the following code is illegal, but am not
- |> certain the draft Standard contains a prohibition.
- |>
- |> struct S {
- |> int S;
- |> };
-
- Thanks to Jerry Swartz for pointing out the last line of
- section 9.2. The code is legal.
-