16template <
typename T, fl::size Extent>
class span;
27template <
typename T, fl::size N>
class array {
96 for (fl::size i = 0; i < N; ++i) {
102 for (fl::size i = 0; i < N; ++i) {
109 static T empty_value;
115template <
typename T>
class array<T, 0> {
158 static T empty_value;
164template <
typename T, fl::size N>
167 for (fl::size i = 0; i < N; ++i) {
168 if (lhs[i] != rhs[i]) {
175template <
typename T, fl::size N>
177 return !(lhs == rhs);
180template <
typename T, fl::size N>
182 for (fl::size i = 0; i < N; ++i) {
183 if (lhs[i] < rhs[i]) {
186 if (rhs[i] < lhs[i]) {
193template <
typename T, fl::size N>
198template <
typename T, fl::size N>
203template <
typename T, fl::size N>
208template <
typename T, fl::size N>
216template <fl::size N,
typename T>
219 for (fl::size i = 0; i < N; ++i) {
226template <
typename T, fl::size N>
229 for (fl::size i = 0; i < N; ++i) {
const_pointer const_iterator
const_iterator end() const FL_NOEXCEPT
bool empty() const FL_NOEXCEPT
ptrdiff_t difference_type
const T & at(fl::size) const FL_NOEXCEPT
const_iterator cend() const FL_NOEXCEPT
void fill(const T &) FL_NOEXCEPT
T & operator[](fl::size) FL_NOEXCEPT
const value_type * const_pointer
T & at(fl::size) FL_NOEXCEPT
const_reference operator[](fl::size) const FL_NOEXCEPT
fl::size size() const FL_NOEXCEPT
iterator end() FL_NOEXCEPT
static T & error_value() FL_NOEXCEPT
const_iterator begin() const FL_NOEXCEPT
const value_type & const_reference
const_iterator cbegin() const FL_NOEXCEPT
fl::size max_size() const FL_NOEXCEPT
const_pointer data() const FL_NOEXCEPT
iterator begin() FL_NOEXCEPT
pointer data() FL_NOEXCEPT
const T & front() const FL_NOEXCEPT
const T & back() const FL_NOEXCEPT
void swap(array &) FL_NOEXCEPT
const_reference operator[](fl::size pos) const FL_NOEXCEPT
iterator end() FL_NOEXCEPT
ptrdiff_t difference_type
const_pointer const_iterator
const_iterator end() const FL_NOEXCEPT
const_pointer data() const FL_NOEXCEPT
void fill(const T &value) FL_NOEXCEPT
bool empty() const FL_NOEXCEPT
const value_type * const_pointer
fl::size max_size() const FL_NOEXCEPT
const T & back() const FL_NOEXCEPT
const_iterator begin() const FL_NOEXCEPT
T & operator[](fl::size pos) FL_NOEXCEPT
const value_type & const_reference
const_iterator cend() const FL_NOEXCEPT
const T & at(fl::size pos) const FL_NOEXCEPT
void swap(array &other) FL_NOEXCEPT
const_iterator cbegin() const FL_NOEXCEPT
static T & error_value() FL_NOEXCEPT
fl::size size() const FL_NOEXCEPT
iterator begin() FL_NOEXCEPT
pointer data() FL_NOEXCEPT
T & at(fl::size pos) FL_NOEXCEPT
const T & front() const FL_NOEXCEPT
A fixed-size array implementation similar to std::array.
void swap(T &a, T &b) FL_NOEXCEPT
constexpr int type_rank< T >::value
array< T, N > to_array(fl::span< const T, fl::size(-1)> s) FL_NOEXCEPT
FASTLED_FORCE_INLINE bool operator!=(const CRGB &lhs, const CRGB &rhs) FL_NOEXCEPT
Check if two CRGB objects do not have the same color data.
void swap(array< T, N > &lhs, array< T, N > &rhs) FL_NOEXCEPT
FASTLED_FORCE_INLINE bool operator<(const CRGB &lhs, const CRGB &rhs) FL_NOEXCEPT
Check if the sum of the color channels in one CRGB object is less than another.
FASTLED_FORCE_INLINE bool operator==(const CRGB &lhs, const CRGB &rhs) FL_NOEXCEPT
Check if two CRGB objects have the same color data.
FASTLED_FORCE_INLINE bool operator>(const CRGB &lhs, const CRGB &rhs) FL_NOEXCEPT
Check if the sum of the color channels in one CRGB object is greater than another.
expected< T, E > result
Alias for expected (Rust-style naming)
FASTLED_FORCE_INLINE bool operator<=(const CRGB &lhs, const CRGB &rhs) FL_NOEXCEPT
Check if the sum of the color channels in one CRGB object is less than or equal to another.
FASTLED_FORCE_INLINE bool operator>=(const CRGB &lhs, const CRGB &rhs) FL_NOEXCEPT
Check if the sum of the color channels in one CRGB object is greater than or equal to another.
Base definition for an LED controller.