shared_ptr_example2_test.cpp
来自「boost库提供标准的C++ API 配合dev c++使用,功能更加强大」· C++ 代码 · 共 21 行
CPP
21 行
// Boost shared_ptr_example2_test main program ------------------------------//
// Copyright Beman Dawes 2001.
// See accompanying license for terms and conditions of use.
// See http://www.boost.org/libs/smart_ptr for documentation.
#include "shared_ptr_example2.hpp"
int main()
{
example a;
a.do_something();
example b(a);
b.do_something();
example c;
c = a;
c.do_something();
return 0;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?