Comment Comment by woud420 Yes RVO is one case where the compiler will do it automatically.I think copy initialization of an object will have the same will apply copy elision as well to result in the same performance, but I'm not entirely sure. parent woud420 7 years ago
I think copy initialization of an object will have the same will apply copy elision as well to result in the same performance, but I'm not entirely sure.