Created by: jacquesqiao
fix: https://github.com/PaddlePaddle/Paddle/issues/9361
https://stackoverflow.com/questions/19267408/why-does-stdmove-prevent-rvo