C++20 Modules:目标、优势与现实采用边界 | C++

本章覆盖:module;module interface;import;export;header model 的问题;build system support;compiler support;third-party dependency adoption;modules 不等于 package manager;企业项目可能长期与 header 并存;了解方向,但不把尚未普遍落地的工具链复杂度塞进基础主线。

本章知识点

  • module
  • module interface
  • import
  • export
  • header model 的问题
  • build system support
  • compiler support
  • third-party dependency adoption
  • modules 不等于 package manager
  • 企业项目可能长期与 header 并存
  • 了解方向,但不把尚未普遍落地的工具链复杂度塞进基础主线