C++ 具有特殊含义的标识符: import
(C++20 起)
来自 cppreference.cn
< cpp
[编辑] 用法
-
module
import declaration: 导入一组翻译单元
[编辑] 示例
export module foo; import bar; // imports all module interface units of module bar import :baz; // imports the so-named module partition baz of module foo import <set>; // imports a synthesized header unit formed from header <set>