Movatterモバイル変換


[0]ホーム

URL:


Issue 148 - WG21 CWG Issues
Title
POD classes and pointers to members
Status
tc1
Section
Clause [11] [class]
Submitter
Nathan Sidwell

Created on1999-07-31.00:00:00 last changed277 months ago

Messages

msg309 (view)
Date: 2000-10-15.00:00:00

Proposed resolution (10/00):

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

msg141 (view)
Date: 2020-12-15.00:00:00

6.9 [basic.types] paragraph 10defines pointer to member types to be scalar types. Italso defines scalar types to be one of the POD types.

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

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

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

History
DateUserActionArgs
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

[8]ページ先頭

©2009-2026 Movatter.jp