3 ms·
Well, stay away from r-value references[1], and trust the defaults for move will make your live a lot easier. To Quote Eric Niebler: "I want you to fear r-valu
by meetingcpp 12y ago
Well, stay away from r-value references[1], and trust the defaults for move will make your live a lot easier.
To Quote Eric Niebler:
"I want you to fear r-value references, like one could fear god" (last year at Meeting C++)
[1]except things like forwarding in templates, but thats fairly easy.