- 博客(3)
- 资源 (1)
- 收藏
- 关注
翻译 C++11 auto_ptr shared_ptr unique_ptr
转自: http://blog.csdn.net/xiejingfa/article/details/50750037 http://jingyan.baidu.com/article/9f7e7ec0b785ae6f281554f6.html http://blog.csdn.net/xiamentingtao/article/d
2017-02-21 19:21:03 296
原创 C++ shared_ptr 编译 error ‘shared_ptr’ was not declared in this scope修复
#include #include #include #include using namespace std; class Simple { public: Simple(int p = 0) { number = p; std::cout << "Simple::" << number << st
2017-02-21 10:36:16 11257
原创 C++ 类复制
#include using namespace std; class A { public: A(): a(0), b(0) {} A(int s, int ss): a(s), b(ss) {} int GetA() { return a;} A* clone() {
2017-02-10 18:00:44 888
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人