In C++17, the -felide-constructors build flag should no longer be needed because the language guarantees Return Value Optimization (RVO). On the other hand, I don't think its presence is a problem if it's not removed.