# C++ keyword: export

> C++ Atlas: `cppatlas.com/w/cpp/keyword/export` | Source: https://en.cppreference.com/w/cpp/keyword/export | Domain: Keywords | Standards: C++11, C++20

## Official Specification Summary (cppreference)

### 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)

### See also

(until C++11):

- [`template`](https://en.cppreference.com/w/cpp/keyword/template) (mark a template definition exported)

(since C++20):

- [`import`](https://en.cppreference.com/w/cpp/identifier_with_special_meaning/import), [`module`](https://en.cppreference.com/w/cpp/identifier_with_special_meaning/module)

---
Attribution: content from https://en.cppreference.com/w/cpp/keyword/export (cppreference.com), licensed under CC-BY-SA 3.0 and GFDL. Modified: converted to markdown, study notes added. Offline snapshot of 9 February 2025.