Spec-Zone.ru › 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)

Notes

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

See also

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

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

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API