Template may accept both lvalue and rvalue references using forwarding reference: template <typename T> void f(T &&t);.
確定! 回上一頁