std::forward
(C++)
Perfect forwarding is a technique in C++ template programming that allows a function to forward its arguments to another function, preserving the argument’s Value Category (whether it is an lvalue or rvalue).
std::forward
(C++)Perfect forwarding is a technique in C++ template programming that allows a function to forward its arguments to another function, preserving the argument’s Value Category (whether it is an lvalue or rvalue).