| description | Learn more about: <array> | |
|---|---|---|
| title | <array> | |
| ms.date | 11/04/2016 | |
| f1_keywords |
|
|
| helpviewer_keywords |
|
Defines the container class template array and several supporting templates.
Header: <array>
Namespace: std
Note
The <array> library also uses the #include <initializer_list> statement.
| Name | Description |
|---|---|
| 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. |
| Name | Description |
|---|---|
| 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 |
| Name | Description |
|---|---|
| get | Get specified array element. |
| swap | Exchanges the contents of one array with the contents of another array. |