Skip to content

Conversation

AdamBucior
Copy link
Contributor

No description provided.

@AdamBucior AdamBucior requested a review from a team as a code owner June 13, 2021 12:05
@StephanTLavavej StephanTLavavej added the LWG Library Working Group issue label Jun 14, 2021
@StephanTLavavej
Copy link
Member

Thanks! I agree that forward is appropriate outside of a perfect forwarding context here (this also occurs in pair and tuple when a type might be a reference).

I found a convenient place to add test coverage - we had a fancy-pointer deleter that was being used to construct a unique_ptr that was then moved into a shared_ptr with no other usage, so we can make that deleter movable-only and ensure that this behavior is never damaged by future maintenance.

@StephanTLavavej StephanTLavavej self-assigned this Jun 24, 2021
@StephanTLavavej StephanTLavavej merged commit 8a6585a into microsoft:main Jun 29, 2021
@StephanTLavavej
Copy link
Member

Thanks for improving everyone's favorite smart pointers! 🧠 😸

@AdamBucior AdamBucior deleted the lwg3548 branch June 29, 2021 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
LWG Library Working Group issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants