MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/cpp/comments/1vnp8dk/c26_stdindirect/p3ttrw8/?context=3
r/cpp • u/User_Deprecated • Aug 13 '26
157 comments sorted by
View all comments
Show parent comment
2
As it stands, we got the worse of both worlds.
The original design was worse: there was no explicit valueless state, it was just UB to use it after a move.
View all comments
Show parent comment
2
u/jwakely libstdc++ tamer, LWG chair Aug 15 '26
The original design was worse: there was no explicit valueless state, it was just UB to use it after a move.