4 ms·
As u/dryanau says returning std::move breaks the return value optimization such that clang at least will warn about it by default.
by olliej 4y ago
As u/dryanau says returning std::move breaks the return value optimization such that clang at least will warn about it by default.