16. A function returns std::vector<T> foo();. At call-site you write:

Why might the extra std::move() be worse than writing v = foo();?
(A) Disables copy elision
(B) Prevents RVO
(C) Converts to Ivalue reference
(D) Increases alignment padding
(E) None of the above

答案:登入後查看
統計: A(0), B(0), C(0), D(1), E(1) #3830627