3 ms·
RVO/NRVO are valid and are not affected. We are dealing with std::variant, and the move semantics are defined by the alternative. https://en.cppreference.com/w
by Rucadi 2y ago
RVO/NRVO are valid and are not affected.
We are dealing with std::variant, and the move semantics are defined by the alternative. https://en.cppreference.com/w/cpp/utility/variant/operator%3D https://en.cppreference.com/w/cpp/utility/variant/operator%3...