home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / std / cplus / 912 < prev    next >
Encoding:
Internet Message Format  |  1992-07-22  |  803 b 

  1. Path: sparky!uunet!mcsun!corton!seti!goudurix.inria.fr!edelson
  2. From: daniel.edelson@inria.fr (Daniel R. Edelson)
  3. Newsgroups: comp.std.c++
  4. Subject: Re: name of class as name of nonconstructor member
  5. Message-ID: <4016@seti.UUCP>
  6. Date: 22 Jul 92 09:22:18 GMT
  7. References: <4011@seti.UUCP>
  8. Sender: news@seti.UUCP
  9. Reply-To: Daniel R. Edelson <daniel.edelson@inria.fr>
  10. Organization: INRIA -- Institut National de Recherche en Informatique et Automatique -- Rocquencourt, France
  11. Lines: 10
  12.  
  13. In article <4011@seti.UUCP>, daniel.edelson@inria.fr (Daniel R. Edelson) writes:
  14. |> I think the following code is illegal, but am not
  15. |> certain the draft Standard contains a prohibition.
  16. |> 
  17. |>    struct S {
  18. |>     int S;
  19. |>    }; 
  20.  
  21. Thanks to Jerry Swartz for pointing out the last line of 
  22. section 9.2. The code is legal.
  23.