Blame c++11. Destructive moves are the principled right answer, but we couldn't figure out all of the problems that resulted. So all values have a moved from state. For most it's the same as the assigned from state. But resource ownership types complicate that.
View all comments
Show parent comment
3
u/smdowney WG21, Text/Unicode SG, optional<T&> Aug 14 '26
Blame c++11. Destructive moves are the principled right answer, but we couldn't figure out all of the problems that resulted. So all values have a moved from state. For most it's the same as the assigned from state. But resource ownership types complicate that.