MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/cpp/comments/1vnp8dk/c26_stdindirect/p3oqomt/?context=3
r/cpp • u/User_Deprecated • Aug 13 '26
157 comments sorted by
View all comments
Show parent comment
1
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++...
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++...