Topic: A new twist (was: Empty Objects)


Author: "Ronald F. Guilmette" <rfg@rahul.net>
Date: 24 Mar 1995 21:04:31 GMT
Raw View
I dunno what all this brouhaha about zero-length objects is all about.
After all, we have had them in C for years:

 struct S { int:0; } object;

(Footnote:  This is actually just a test to see if anyone here has any
 actual familiarity with the details of the C standard. :-)

--

-- Ron Guilmette, Sunnyvale, CA ---------- RG Consulting -------------------
---- E-mail: rfg@segfault.us.com ----------- Purveyors of Compiler Test ----
-------------------------------------------- Suites and Bullet-Proof Shoes -