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 T & front() const FL_NO_EXCEPT
fl::size max_size() const FL_NO_EXCEPT
T & at(fl::size) FL_NO_EXCEPT
const_pointer const_iterator
const_reference operator[](fl::size) const FL_NO_EXCEPT
const_pointer data() const FL_NO_EXCEPT
bool empty() const FL_NO_EXCEPT
iterator end() FL_NO_EXCEPT
static T & error_value() FL_NO_EXCEPT
pointer data() FL_NO_EXCEPT
ptrdiff_t difference_type
void swap(array &) FL_NO_EXCEPT
const_iterator cbegin() const FL_NO_EXCEPT
const value_type * const_pointer
const T & at(fl::size) const FL_NO_EXCEPT
T & operator[](fl::size) FL_NO_EXCEPT
const value_type & const_reference
const_iterator cend() const FL_NO_EXCEPT
fl::size size() const FL_NO_EXCEPT
const_iterator end() const FL_NO_EXCEPT
const_iterator begin() const FL_NO_EXCEPT
iterator begin() FL_NO_EXCEPT
void fill(const T &) FL_NO_EXCEPT
const T & back() const FL_NO_EXCEPT
const_iterator begin() const FL_NO_EXCEPT
const_iterator cbegin() const FL_NO_EXCEPT
ptrdiff_t difference_type
const T & back() const FL_NO_EXCEPT
const_pointer const_iterator
bool empty() const FL_NO_EXCEPT
void fill(const T &value) FL_NO_EXCEPT
pointer data() FL_NO_EXCEPT
const value_type * const_pointer
static T & error_value() FL_NO_EXCEPT
const value_type & const_reference
const_iterator end() const FL_NO_EXCEPT
fl::size size() const FL_NO_EXCEPT
const T & front() const FL_NO_EXCEPT
fl::size max_size() const FL_NO_EXCEPT
T & at(fl::size pos) FL_NO_EXCEPT
iterator end() FL_NO_EXCEPT
void swap(array &other) FL_NO_EXCEPT
iterator begin() FL_NO_EXCEPT
const_reference operator[](fl::size pos) const FL_NO_EXCEPT
const_iterator cend() const FL_NO_EXCEPT
const_pointer data() const FL_NO_EXCEPT
T & operator[](fl::size pos) FL_NO_EXCEPT
const T & at(fl::size pos) const FL_NO_EXCEPT
A fixed-size array implementation similar to std::array.
void swap(array< T, N > &lhs, array< T, N > &rhs) FL_NO_EXCEPT
constexpr int type_rank< T >::value
FASTLED_FORCE_INLINE bool operator==(const CRGB &lhs, const CRGB &rhs) FL_NO_EXCEPT
Check if two CRGB objects have the same color data.
array< T, N > to_array(fl::span< const T, fl::size(-1)> s) FL_NO_EXCEPT
FASTLED_FORCE_INLINE bool operator>(const CRGB &lhs, const CRGB &rhs) FL_NO_EXCEPT
Check if the sum of the color channels in one CRGB object is greater than another.
FASTLED_FORCE_INLINE bool operator<=(const CRGB &lhs, const CRGB &rhs) FL_NO_EXCEPT
Check if the sum of the color channels in one CRGB object is less than or equal to another.
expected< T, E > result
Alias for expected (Rust-style naming)
InputGamut g FL_NO_EXCEPT
FASTLED_FORCE_INLINE bool operator!=(const CRGB &lhs, const CRGB &rhs) FL_NO_EXCEPT
Check if two CRGB objects do not have the same color data.
FASTLED_FORCE_INLINE bool operator>=(const CRGB &lhs, const CRGB &rhs) FL_NO_EXCEPT
Check if the sum of the color channels in one CRGB object is greater than or equal to another.
FASTLED_FORCE_INLINE bool operator<(const CRGB &lhs, const CRGB &rhs) FL_NO_EXCEPT
Check if the sum of the color channels in one CRGB object is less than another.
Base definition for an LED controller.