3 ms·
You can use std::move() to make the last example work, so it's still easy to return unique_ptr from more complex functions.
by zeroonetwothree 12y ago
You can use std::move() to make the last example work, so it's still easy to return unique_ptr from more complex functions.