On 2012-05-04 22:15:14 +0000, Johannes Schaub said:
>
> I think you have a point. I think the only way we could observe the size
> is by "sizeof", but which cannot be applied here. But on the other hand,
> the same is true for empty base class subobjects, but which are
> mentioned explicitly by clause 1.
Empty base class subobjects can be detected by looking at addresses of bases.
--
Pete
Roundhouse Consulting, Ltd. (
www.versatilecoding.com) Author of "The
Standard C++ Library Extensions: a Tutorial and Reference
(
www.petebecker.com/tr1book)
[ See
http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]