摘要: Pimpl(Pointer to implementation) 是一种减少代码依赖和编译时间的C++编程技巧,其基本思想是将一个外部可见类(visible class)的实现细节(一般是所有私有的非虚成员)放在一个单独的实现类(implementation class)中,而在可见类中通过一个私有 阅读全文
posted @ 2022-12-01 16:31 sgggr 阅读(314) 评论(0) 推荐(0)