您好,欢迎光临本网站![请登录][注册会员]  

搜索资源列表

  1. c++push_back 以及 emplace_back 的区别

  2. 区别 都说emplace快push慢,今天就详细研究下到底两者有什么区别,以及这个move在中间扮演了一个什么角色。 先上测试代码,是一个自己手写的str字符串类,几种构造函数,都写全了: class str { public: friend ostream& operator <<(ostream& out, const str& p); str() :data(nullptr), len(0) {} //构造函数 str(const char* p
  3. 所属分类:其它

    • 发布日期:2021-01-20
    • 文件大小:54kb
    • 提供者:weixin_38622467