API

Type Aliases

Name Description
align_t The type returned by the alignof operator.
nullptr_t The type of the null pointer literal.
ptrdiff_t The type returned by pointer difference arithmetic.
size_t The type returned by the sizeof operator.

Constants

Name Description
npos A sentinel value used to indicate an invalid position.

Functions

Name Description
as_const Casts a value to a const reference.
bit_cast Reinterprets the bits of one type as another type.
declval Produces an rvalue reference in unevaluated contexts.
exchange Replaces an object and returns its old value.
forward Forwards a value preserving value category.
invoke Invokes a callable with arguments.
move Casts a value to an rvalue reference.
swap Swaps the values of two objects.

Classes

Name Description
byte A type representing a byte value.
equal_to Compares two values with ==.
greater Compares two values with >.
greater_equal Compares two values with >=.
in_place_index_t Tag type for in-place construction by index.
in_place_t Tag type for in-place construction.
in_place_type_t Tag type for in-place construction by type.
less Compares two values with <.
less_equal Compares two values with <=.
not_equal_to Compares two values with !=.
overloads Combines multiple callable objects into one overload set.
pair A heterogeneous container holding two values.
priority_tag A tag for priority-based overload selection.