Standard API#
2026-10-07
2 min read time
This page covers the libhipcxx standard API, summarizing C++ and C standard library feature availability across supported C++ standards.
Standard Library Backports#
C++ Standard versions include new language features and new library features. As the name implies, language features are new features of the language that require compiler support. Library features are simply new additions to the Standard Library that typically do not rely on new language features nor require compiler support and could conceivably be implemented in an older C++ Standard.
Typically, library features are only available in the particular C++ Standard version (or newer) in which they were introduced, even if the library features do not depend on any particular language features.
libhipcxx relaxes this restriction to make library features available to more users. Where possible, it provides
C++ Standard Library features in C++ Standard versions older than the one that introduced them. For example, the
calendar types added to <chrono> in C++20 are also available in C++17.
C++ Feature Availability Summary#
Library |
libhipcxx |
≤ C++17 |
C++20 |
C++23 |
C++26 |
Notes |
|---|---|---|---|---|---|---|
✅ |
✅ |
|||||
|
✅ |
✅ |
||||
|
Not available in libhipcxx, see limitations |
|||||
✅ |
||||||
✅ |
||||||
✅ |
✅ |
Timezone and clocks added in C++20 are not available |
||||
✅ |
✅ |
✅ |
|
|||
✅ |
||||||
✅ |
||||||
✅ |
||||||
|
✅ |
|||||
✅ |
||||||
|
✅ |
|||||
|
Not available in libhipcxx, see limitations |
|||||
|
✅ |
|||||
✅ |
Accessors, transposed layout, and related functions |
|||||
✅ |
✅ |
|||||
✅ |
✅ |
|
||||
✅ |
||||||
✅ |
||||||
✅ |
||||||
✅ |
✅ |
Requires C++20, Range-based algorithms and views are not provided. |
||||
|
✅ |
|||||
|
Not available in libhipcxx, see limitations |
|||||
|
✅ |
|||||
✅ |
||||||
✅ |
✅ |
|||||
✅ |
✅ |
|||||
✅ |
✅ |
|||||
✅ |
||||||
✅ |
C Feature Availability Summary#
Library |
libhipcxx |
≤ C++17 |
|---|---|---|
|
✅ |
|
|
✅ |
|
|
✅ |
|
|
✅ |
|
|
✅ |
|
|
✅ |
|
|
✅ |
|
|
✅ |
|
|
✅ |
|
|
✅ |
See C Libraries for more details.