home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / std / cplus / 2119 < prev    next >
Encoding:
Text File  |  1993-01-25  |  684 b   |  25 lines

  1. Path: sparky!uunet!pmafire!news.dell.com!natinst.com!cs.utexas.edu!zaphod.mps.ohio-state.edu!uwm.edu!linac!mp.cs.niu.edu!fnnews.fnal.gov!fnal.fnal.gov!b91926
  2. From: b91926@fnalng.fnal.gov
  3. Newsgroups: comp.std.c++
  4. Subject: structs that define nothing
  5. Date: 25 Jan 93 17:12:22 -0600
  6. Organization: Fermi National Accelerator Lab
  7. Lines: 14
  8. Message-ID: <1993Jan25.171222.1@fnalng.fnal.gov>
  9. NNTP-Posting-Host: fnalng.fnal.gov
  10.  
  11. Does the c++ standard have anything to say about the legality of a
  12. construct like the following:
  13.  
  14. ...
  15. struct
  16. {
  17.   int a;
  18.   int b;
  19. };
  20.  
  21. ...
  22.  
  23. Such an example appeared in a recent issue of "C++ Report". The
  24. problem with this code is that it defines absolutely nothing.
  25.