W3cubDocs

/C++

C++ keyword: export

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)

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/keyword/export