Open 3D Engine AzCore API Reference
24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
|
#include <array.h>
Public Member Functions | |
constexpr iterator | begin () |
constexpr const_iterator | begin () const |
constexpr iterator | end () |
constexpr const_iterator | end () const |
constexpr reverse_iterator | rbegin () |
constexpr const_reverse_iterator | rbegin () const |
constexpr reverse_iterator | rend () |
constexpr const_reverse_iterator | rend () const |
constexpr const_iterator | cbegin () const |
constexpr const_iterator | cend () const |
constexpr const_reverse_iterator | crbegin () const |
constexpr const_reverse_iterator | crend () const |
constexpr reference | front () |
constexpr const_reference | front () const |
constexpr reference | back () |
constexpr const_reference | back () const |
constexpr reference | operator[] (size_type i) |
constexpr const_reference | operator[] (size_type i) const |
constexpr reference | at (size_type i) |
constexpr const_reference | at (size_type i) const |
void | swap (this_type &other) |
constexpr const T * | data () const |
constexpr T * | data () |
template<typename T2 > | |
constexpr array< T, N > & | operator= (const array< T2, N > &rhs) |
constexpr void | fill (const T &value) |
constexpr bool | validate () const |
constexpr int | validate_iterator (const iterator &iter) const |
Static Public Member Functions | |
constexpr static size_type | size () |
constexpr static bool | empty () |
constexpr static size_type | max_size () |
Public Attributes | |
T | m_elements [N] |
Array container is complaint with CTR1 (6.2.2) It's just a static array container. You are allowed to initialize it like C array: array<int,5> myData = {{1,2,3,4,5}}; Check the array AZStdExamples.
Forward declare of a C++20 compliant array class