2 ms·
The last one did copy in the olden days, but now with copy elision it does not. You can verify this using -fno-elide-constructors
by im3w1l 5y ago
The last one did copy in the olden days, but now with copy elision it does not. You can verify this using -fno-elide-constructors