Title
POD classes and pointers to members
Status
tc1
Section
Clause [11] [class]
Submitter
Nathan Sidwell

Created on 1999-07-31.00:00:00 last changed 262 months ago

Messages

Date: 2000-10-15.00:00:00

Proposed resolution (10/00):

In Clause 11 [class] paragraph 4, remove all occurrences of "pointer to member."

Date: 2020-12-15.00:00:00

6.8 [basic.types] paragraph 10 defines pointer to member types to be scalar types. It also defines scalar types to be one of the POD types.

Clause 11 [class] paragraph 4 defines a POD struct as an aggregate class with no non-static data members of type pointer to member.

It seems contradictory that a type can be POD, yet a class containing that type is non-POD.

Suggested resolution: Alter Clause 11 [class] paragraph 4 to allow pointer to member objects as non-static data members of POD class.

History
Date User Action Args
2003-04-25 00:00:00adminsetstatus: dr -> tc1
2000-11-18 00:00:00adminsetstatus: ready -> dr
2000-05-21 00:00:00adminsetmessages: + msg309
2000-05-21 00:00:00adminsetstatus: open -> ready
1999-07-31 00:00:00admincreate