r/cpp • • Aug 13 '26

C++26: std::indirect

https://www.sandordargo.com/blog/2026/08/12/cpp26-indirect
164 Upvotes

157 comments sorted by

View all comments

Show parent comment

1

u/tesfabpel Aug 14 '26

but how do you design something like std::unique_ptr? do you delete move actors / assignments?

otherwise, you must add null support to it...

it's just the misfortune of choosing non-destructive moves by C++...