Namespaces
Variants
Actions

C++ keyword: export

From cppreference.com
< cpp‎ | keyword
 
 
C++ language
General topics
 
Keywords
 

[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

  • template (mark a template definition exported)
(until C++11)
(since C++20)

AltStyle によって変換されたページ (->オリジナル) /