Empty class passing details

Mark Mitchell mark at codesourcery.com
Mon Nov 13 19:39:24 UTC 2000


We should also say what to do with return values.  And, I think in the
spirit of easy reading, we should say:

  as thought it were a struct containing a single char, i.e., 
  `struct S { char c; };'

The value of the char member are unspecified.  Similar language for
return values.  This suggests an obvious, well-defined implementation.

If there are associated performance issues, they don't really matter
-- that was the unanimous conclusion of the experts we polled, and the
reason for simplifying this stuff anyhow.  Let's make it
super-simple. :-)

--
Mark Mitchell                   mark at codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com




More information about the cxx-abi-dev mailing list