From: Beman Dawes (bdawes_at_[hidden])
Date: 2001-08-30 12:44:48
At 07:04 AM 8/24/2001, John Maddock wrote:
>>Would I be right in saying that a std::pair<int, int> is a POD type?<
>On second thoughts, std::pair is required to have three overloaded
>constructors, so it can never be a POD, ...
8.5.1 puts all sorts of restrictions on aggregate classes, and thus on
No user declared constructors, no private or protected non-static data
members, no base classes, no virtual functions.
So std::pair<> is clearly not a POD.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk