C++ export Keyword
Definition and Usage
The export keyword is reserved in C++11. This means that you cannot use it as a name for a variable or function, but it is not used for anything.
Older C++ (C++98) used export for templates, but very few compilers supported it. C++11 removed this use, and kept only the reserved word.
C++20 gives export a new meaning. It is used with modules (a newer way to split a program into parts), to choose which names a module shares with other files.
Related Pages
Read more about names that you cannot use in our C++ Identifiers Tutorial.