16template <
typename T,
typename Container = fl::deque<T>>
116 template<
typename... Args>
198template <
typename T,
typename Container>
204template <
typename T,
typename Container>
210template <
typename T,
typename Container>
216template <
typename T,
typename Container>
222template <
typename T,
typename Container>
228template <
typename T,
typename Container>
234template <
typename T,
typename Container>
bool empty() const
Check if the queue is empty.
queue(queue &&other) FL_NOEXCEPT=default
Move constructor.
bool operator==(const queue &other) const
Equality comparison.
bool operator<(const queue &other) const
Less-than comparison (lexicographic)
~queue() FL_NOEXCEPT=default
Destructor.
void push(const value_type &value)
Add an element to the back of the queue.
queue & operator=(queue &&other) FL_NOEXCEPT=default
Move assignment operator.
void emplace(Args &&... args)
Construct and add an element to the back of the queue.
void clear()
Remove all elements from the queue.
queue(Container &&container)
Construct queue by moving the given container.
const Container & get_container() const
Get access to the underlying container (const version)
queue & operator=(const queue &other) FL_NOEXCEPT=default
Copy assignment operator.
bool operator>=(const queue &other) const
Greater-than-or-equal comparison.
bool operator!=(const queue &other) const
Inequality comparison.
const_reference back() const
Access the last element (back of queue) - const version.
void swap(queue &other)
Swap the contents with another queue.
Container & get_container()
Get access to the underlying container (for advanced use)
size_type size() const
Get the number of elements in the queue.
void pop()
Remove the front element from the queue.
queue(const queue &other) FL_NOEXCEPT=default
Copy constructor.
const T & const_reference
const_reference front() const
Access the first element (front of queue) - const version.
bool operator<=(const queue &other) const
Less-than-or-equal comparison.
void push(value_type &&value)
Add an element to the back of the queue (move version)
bool operator>(const queue &other) const
Greater-than comparison.
queue() FL_NOEXCEPT=default
Default constructor - creates an empty queue.
reference front()
Access the first element (front of queue)
reference back()
Access the last element (back of queue)
A first-in, first-out (FIFO) queue container adapter.
constexpr T && forward(typename remove_reference< T >::type &t) FL_NOEXCEPT
constexpr remove_reference< T >::type && move(T &&t) FL_NOEXCEPT
constexpr remove_reference< T >::type && move(T &&t) FL_NOEXCEPT
constexpr int type_rank< T >::value
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.
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.