Implement c++20 shared_ptr rvalue overloads for aliasing constructor and pointer casts. See https://cplusplus.github.io/LWG/issue2996
Commit from
"patedeev" <dkp10000@gmail.com>
Differential D135548
[libc++][LWG 2996] Implement c++20 shared_ptr rvalue overloads. pateldeev on Oct 9 2022, 5:32 PM. Authored by
Details
Implement c++20 shared_ptr rvalue overloads for aliasing constructor and pointer casts. See https://cplusplus.github.io/LWG/issue2996 Commit from
Diff Detail
Event TimelineComment Actions Thanks for working on this. In general looks quite good, but some code uses an older style we don't use for new code.
Comment Actions Please mention the LWG issue you are implementing in the title. Other than that and inline comments this LGTM. Leaving final approval to @Mordante, since he had comments.
Comment Actions Thanks for the change, LGTM modulo comments and green CI (please rebase first). Thanks!
Comment Actions Rebased diff and addressed all comments. Should be ready to merge. But it seems I don't have the ability to do this. @ldionne: Can you help merge this? Comment Actions Could you rebased this again and upload it to test the CI. Comment Actions
Done
Added to bottom of diff description Comment Actions Thanks I can now pick it without conflicts. I noticed the attribution is "pateldeev <pateldeev@nevada.unr.edu>" Can you provide they name you want me to attribute this patch too or confirm "pateldeev" is intended? |
Please update the synopsis too.