C++ keyword: export - cppreference.com (original) (raw)

[edit] Usage

Used to mark a template definition exported , which allows the same template to be declared, but not defined, in other translation units. (until C++11)
The keyword is unused and reserved . (since C++11)(until C++20)
Marks a declaration, a group of declarations, or another module as exported by the current module. (since C++20)

[edit] Notes

Feature-test macro Value Std Feature
__cpp_modules 201907L (C++20) Modules — core language support

[edit] See also