c++ 11 知识点

1. 万能引用:ios int add(){ return 100; }  const int &n = add(); // 编译经过函数 int &p = add(); // 不能编译经过this 2. std::movespa #include <iostream> using namespace std; class Moveable{ public: Moveable()
相关文章
相关标签/搜索