Stdindirect

科技互联网

C++26 引入 std::indirect 类型简化 PImpl 编程模式

C++26 标准新增了 `std::indirect` 词汇类型,定义在 `<memory>` 头文件中,旨在简化和改进传统的 PImpl(指向实现的指针)编程模式 。