You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Poll: Access to inaccessible members using reflection shall use inconvenient spelling (e.g. private members are accessible through silly_members_of, not members_of)
Activity
hanickadot commentedon Nov 18, 2024
We discussed group of papers about accessibility together in Wrocław:
P3437R0 Proposed default principles: Reflect C++, Generate C++ (github)
P3451R0 A Suggestion for Reflection Access Control (github)
P3473R0 Splicing Should Respect Access Control (github)
P3493R0 Ruminations on reflection and access (late paper, no github yet)
And we took these pools:
SG7: P2996 should allow access to private and protected members as currently is (for both reflection by member interspection and splicing).
Result: Consensus
SG7: We encourage work towards ability to query accessible members based on provided context (as a high-priority change for C++26)
Result: Strong consensus
SG7: Adopt "as-if source code read/written by the human programmer" as SG7 guidance for default reflection and generation semantics.
Result: Consensus
jfbastien commentedon Nov 20, 2024
Seen in EWG on Wednesday:
Poll: Access to inaccessible members using reflection shall use inconvenient spelling (e.g. private members are accessible through silly_members_of, not members_of)
Result: not consensus