摘要: void foo() { auto d = new D(); E e1; {E e2;} E e3; static F f; delete d; } A a; namespace bar { B b; } int main() { G g; foo(); } static C c; 执行结果 构造顺 阅读全文
posted @ 2023-03-11 07:43 Zijian/TENG 阅读(103) 评论(0) 推荐(0) 编辑