|
FastLED 3.9.15
|
A fixed-size array implementation similar to std::array.
This class provides a thin wrapper around a C-style array with STL container-like interface.
| T | The type of elements |
| N | The number of elements |
#include <array.h>
Inheritance diagram for fl::array< T, N >:Public Types | |
| using | const_iterator = const_pointer |
| using | const_pointer = const value_type * |
| using | const_reference = const value_type & |
| using | difference_type = ptrdiff_t |
| using | iterator = pointer |
| using | pointer = value_type * |
| using | reference = value_type & |
| using | size_type = fl::size |
| using | value_type = T |
Public Member Functions | |
| const T & | at (fl::size pos) const FL_NOEXCEPT |
| T & | at (fl::size pos) FL_NOEXCEPT |
| const T & | back () const FL_NOEXCEPT |
| T & | back () FL_NOEXCEPT |
| const_iterator | begin () const FL_NOEXCEPT |
| iterator | begin () FL_NOEXCEPT |
| const_iterator | cbegin () const FL_NOEXCEPT |
| const_iterator | cend () const FL_NOEXCEPT |
| const_pointer | data () const FL_NOEXCEPT |
| pointer | data () FL_NOEXCEPT |
| bool | empty () const FL_NOEXCEPT |
| const_iterator | end () const FL_NOEXCEPT |
| iterator | end () FL_NOEXCEPT |
| void | fill (const T &value) FL_NOEXCEPT |
| const T & | front () const FL_NOEXCEPT |
| T & | front () FL_NOEXCEPT |
| fl::size | max_size () const FL_NOEXCEPT |
| const_reference | operator[] (fl::size pos) const FL_NOEXCEPT |
| T & | operator[] (fl::size pos) FL_NOEXCEPT |
| fl::size | size () const FL_NOEXCEPT |
| void | swap (array &other) FL_NOEXCEPT |
Public Attributes | |
| T | mData [N] |
Static Private Member Functions | |
| static T & | error_value () FL_NOEXCEPT |