摘要: ```c++ include include using namespace std; struct A; struct B; struct A { shared_ptr B_ptr; A() { cout A_ptr; B() { cout ap(new A()); // ap 的引用计数是1 s 阅读全文
posted @ 2019-04-08 23:41 Pat 阅读(680) 评论(2) 推荐(0) 编辑
摘要: Separate compilation let us split our programs into several files, each of which can be compiled independently. allows programs to be written in logic 阅读全文
posted @ 2019-04-08 23:37 Pat 阅读(325) 评论(0) 推荐(0) 编辑