头像

壹米阳光

帅气的我简直无法用语言描述!

std::ref

原文:https://murphypei.github.io/blog/2019/04/cpp-std-ref C++11 中引入 std::ref 用于取某个变量的引用,这个引入是为了解决一些传参问...
头像3周前
000