C++ Standard Library

C++ Standard Library

Standard modules

← Previous revision Revision as of 19:47, 27 April 2026
Line 128: Line 128:
|-
|-
| {{code|std}}
| {{code|std}}
|| C++23{{efn|note=module-std-20|Informally available in most C++20 implementations.{{Cite web|title=Standard Library Header Units and Modules - tracking issue #1694|url=https://github.com/microsoft/STL/issues/1694|author=Stephan T. Lavavej|website=github.com|publisher=Microsoft Corporation|date=24 February 2021}}}}
|| C++23{{efn|name=module-std-20|Informally available in most C++20 implementations.{{Cite web|title=Standard Library Header Units and Modules - tracking issue #1694|url=https://github.com/microsoft/STL/issues/1694|author=Stephan T. Lavavej|website=github.com|publisher=Microsoft Corporation|date=24 February 2021}}}}
|| Exports all declarations in namespace std and global storage allocation and deallocation functions that are provided by the importable C++ library headers including C library facilities (although declared in standard namespace).
|| Exports all declarations in namespace std and global storage allocation and deallocation functions that are provided by the importable C++ library headers including C library facilities (although declared in standard namespace).
|-
|-
| {{code|std.compat}}
| {{code|std.compat}}
|| C++23{{efn|note=module-std-20}}
|| C++23{{efn|name=module-std-20}}
|| Exports the same declarations as the named module std, and additionally exports functions in global namespace in C library facilities. It thus contains "compat" in the name, meaning compatibility with C.
|| Exports the same declarations as the named module std, and additionally exports functions in global namespace in C library facilities. It thus contains "compat" in the name, meaning compatibility with C.
|}
|}