
C++
厚德载物天道酬勤
这个作者很懒,什么都没留下…
展开
-
C++11学习笔记——收藏网址
博客:http://purecpp.org/https://www.cnblogs.com/qicosmos/category/466797.html标准:ISO/IEC 144882:2011原创 2018-06-29 09:34:21 · 245 阅读 · 0 评论 -
C++11--移动构造函数
class A_2{public: A_2() :m_ptr(new int(0)) { } ~A_2() { delete m_ptr; }private: int* m_ptr;};A_2 Get(bool flag){ A_2 a; A_2 b; if (flag) return a; else return b;}int righ...转载 2018-07-12 14:26:36 · 19246 阅读 · 7 评论