![]() |
General Utility Library for C++17 25.4.1
|
The General Utility Library provides a few classes from the C++ standard library that are not yet available to users of older compilers.
endian: An enum to determine the endianness of multi-byte scalars on the current platform, behaving like std::endian from C++20.
expected: A class template that can either contain a value of a certain (expected) type or an error value. It should behave like std::expected from C++23 for almost all use cases.
remove_cvref: A metafunction to remove const, volatile, and reference qualifiers from a type. This is a backport of std::remove_cvref from C++20.
span: A view to a contiguous sequence of objects. It should behave like std::span from C++20 for almost all use cases.