------- Comment #6 from gdr at cs dot tamu dot edu 2006-01-23 22:36 -------
Subject: Re: Spurious offsetof warnings with private members
"rcbilson at plg dot uwaterloo dot ca" <[EMAIL PROTECTED]> writes:
| ------- Comment #2 from rcbilson at plg dot uwaterloo dot ca 2006-01-23
18:28 -------
| (In reply to comment #1)
| > Hmm, is this a non POD?
|
| Quoth the standard (9p4):
| "A POD-struct is an aggregate class
^^^^^^^^
The keyword here is aggregate. See definition in 8.5.1/1.
class xxx is NOT a POD.
-- Gaby
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25927