<array>

Defines the container class template array and several supporting templates.

Requirements

Header: <array>

Namespace: std

Note

The <array> library also uses the #include <initializer_list> statement.

Members

Classes

array Stores a fixed-length sequence of elements.
tuple_element Wraps the type of an array element.
tuple_size Wraps the size of an array element.

Operators

operator== array comparison, equal
operator!= array comparison, not equal
operator< array comparison, less than
operator>= array comparison, greater than or equal
operator> array comparison, greater than
operator<= array comparison, less than or equal

Functions

get Get specified array element.
swap Exchanges the contents of one array with the contents of another array.

See also

<tuple>
Header Files Reference