This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 117a. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.
2025-04-13
148. POD classes and pointers to membersSection: Clause 11 [class] Status: TC1 Submitter: Nathan Sidwell Date: 31 Jul 19996.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.
Proposed resolution (10/00):
In Clause 11 [class] paragraph 4, remove all occurrences of "pointer to member."
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4