🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c++
Article #1367

structs that define nothing

#1367
From: b91926
Date: Mon, 25 Jan 1993 23:12
14 lines
708 bytes
Does the c++ standard have anything to say about the legality of a
construct like the following:

...
struct
{
  int a;
  int b;
};

...

Such an example appeared in a recent issue of "C++ Report". The
problem with this code is that it defines absolutely nothing.
Technical Details
Message-ID: <1993Jan25.171222.1@fnalng.fnal.gov>
Path: arc1-ca.pugleaf.net!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

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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
From: b91926@fnalng.fnal.gov
Newsgroups: comp.std.c++
Subject: structs that define nothing
Date: 25 Jan 93 17:12:22 -0600
Organization: Fermi National Accelerator Lab
Lines: 14
Message-ID: <1993Jan25.171222.1@fnalng.fnal.gov>
NNTP-Posting-Host: fnalng.fnal.gov