MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/cpp/comments/1vnp8dk/c26_stdindirect/p3ushxi/?context=3
r/cpp • u/User_Deprecated • Aug 13 '26
157 comments sorted by
View all comments
Show parent comment
2
Even if you didn't allow copying or comparing valueless objects (like the originally proposed design which wasn't approved), the assignment and destructor has to know if there's an object to destroy.
View all comments
Show parent comment
2
u/jwakely libstdc++ tamer, LWG chair Aug 15 '26
Even if you didn't allow copying or comparing valueless objects (like the originally proposed design which wasn't approved), the assignment and destructor has to know if there's an object to destroy.