-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
B3 - additionBucket 3 as described by P0592: material that is not mentioned in P0592Bucket 3 as described by P0592: material that is not mentioned in P0592C++29Targeted at C++29Targeted at C++29ISShip vehicle: ISShip vehicle: ISLEWGILibrary Evolution IncubatorLibrary Evolution Incubatorneeds-revisionPaper needs changes before it can proceedPaper needs changes before it can proceedsize - largepaper size estimatepaper size estimate
Milestone
Description
P3086R0 Proxy: A Pointer-Semantics-Based Polymorphism Library (Mingxin Wang)
xiaosa-zhz and emmett2020
Metadata
Metadata
Assignees
Labels
B3 - additionBucket 3 as described by P0592: material that is not mentioned in P0592Bucket 3 as described by P0592: material that is not mentioned in P0592C++29Targeted at C++29Targeted at C++29ISShip vehicle: ISShip vehicle: ISLEWGILibrary Evolution IncubatorLibrary Evolution Incubatorneeds-revisionPaper needs changes before it can proceedPaper needs changes before it can proceedsize - largepaper size estimatepaper size estimate
Type
Projects
Relationships
Development
Select code repository
Activity
inbal2l commentedon Jan 17, 2024
Related to P0957 (#306)
@nliber @billy-baker - please look at this first, preferably before Tokyo
billy-baker commentedon Mar 18, 2024
2024-03-18 Library Evolution Incubator Telecon
P3086R1: A Pointer-Semantics-Based Polymorphism Library
2024-03-18 Library Evolution Incubator Minutes
Champion: Mingxin Wang
Chair: Billy Baker
Minute Taker: Elias Kosunen
Start: 2024-03-18 13:40 UTC + 9
Does this paper have:
POLL: The problem presented in P3086R1 Proxy: A Pointer-Semantics-Based Polymorphism Library is a problem worth solving.
Attendance: 11
# of Authors: 1
Author Position:
Outcome: Unanimous consent to continue with P3086.
POLL: Remove make_proxy from P3086.
Attendance: 11
# of Authors: 1
Author Position:
Outcome: Unanimous consent for the next revision to remove make_proxy.
End: 16:15 UTC + 9
Summary
While there has been usage of the github library, it is unknown if any of the usage was from embedded development.
The non-intrusive capability was well-liked.
The paper shows macros (not proposed for standardization) to avoid the boilerplate necessary to define a facade. Some non-macro solution in this area should be considered for future standardization.
Removal of make_proxy for lack of allocator support improves consensus. A separate future paper could explore this more. The pattern of make_shared/allocate_shared was given as a possible solution.
The paper proposes adding a header. The facilities of P3019 "indirect and polymorphic: Vocabulary Types for Composite Class Design" were added to the header. There should be more discussion on where the facilities of P3086 should reside.
Next Steps
Another revision of the paper is needed that removes make_proxy. Some discussion of P3019 "indirect and polymorphic: Vocabulary Types for Composite Class Design" would be good to have in the next revision. Alternate naming suggestions, if possible, would also be good to have in the next revision. As noted, the wording needs to use tuple-like in two places.
2 remaining items
[-]P3086 R1 Proxy: A Pointer-Semantics-Based Polymorphism Library[/-][+]P3086 R2 Proxy: A Pointer-Semantics-Based Polymorphism Library[/+]wg21bot commentedon Jan 14, 2025
P3086R3 Proxy: A Pointer-Semantics-Based Polymorphism Library (Mingxin Wang)
[-]P3086 R2 Proxy: A Pointer-Semantics-Based Polymorphism Library[/-][+]P3086 R3 Proxy: A Pointer-Semantics-Based Polymorphism Library[/+]wg21bot commentedon May 20, 2025
P3086R4 Proxy: A Pointer-Semantics-Based Polymorphism Library (Mingxin Wang)
[-]P3086 R3 Proxy: A Pointer-Semantics-Based Polymorphism Library[/-][+]P3086 R4 Proxy: A Pointer-Semantics-Based Polymorphism Library[/+]billy-baker commentedon Jun 19, 2025
Discussed in Sofia.
POLL: Forward “P3086R4: Proxy: A Pointer-Semantics-Based Polymorphism Library” to LEWG knowing that more motivation may be needed.
Attendance: 11 (IP) + 5 (R)
Author’s Position: SF
Outcome: No consensus to forward at this time.
The library is still viewed as solving a problem. Improving the motivation for inclusion in the standard library versus usage directly from GitHub or a package manager would improve consensus. A revised paper with improved motivation would be needed for Kona.