2 ms·
Yes, we're discussing an alternative design here. An automatic move should change the semantics of the program, rendering later uses invalid. This does not bre
by Rusky 8y ago
Yes, we're discussing an alternative design here. An automatic move should change the semantics of the program, rendering later uses invalid.
This does not break RAII- it merely changes the defaults. It should be copies that are marked in the program source, not moves- this is unfortunately not backwards compatible, but it's also not a problem for how RAII gets used.