|
Boost : |
From: Jens Maurer (Jens.Maurer_at_[hidden])
Date: 2001-11-20 15:52:27
Carl Daniel wrote:
> Unfortunately, that's too restrictive. According to 9/4, a POD-struct "is an aggregate class that has no non-static
> data members of type pointer-to-member, non-POD-struct, non-POD-union (or array of such types) or reference, and has no
> used-defined copy-assignment operator and no user-defined destructor." **
> ** Interesting that 9/4 doesn't mention anything about a POD not having any virtual member functions - is that covered
> elsewhere?
It's covered in the definition of "aggregate" in 8.5.1p1.
Jens Maurer
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk