std::forward与完美转发 发表于2025年2月12日2025年2月12日 作者 isvee 在模板函数中,如果不使用 std::forward,参数的值类别(左值或右值)会丢失,导致无法实现完美转发(p… 继续阅读 std::forward与完美转发