FastLED 3.9.15
Loading...
Searching...
No Matches

◆ operator=()

template<typename T, fl::size N, typename BaseAllocator = fl::allocator<T>>
allocator_inlined & fl::allocator_inlined< T, N, BaseAllocator >::operator= ( const allocator_inlined< T, N, BaseAllocator > & other)
inlinenoexcept

Definition at line 576 of file allocator.h.

576 {
577 if (this != &other) {
578 clear();
579
580 // Copy inlined data
582 for (fl::size i = 0; i < m_inlined_used; ++i) {
584 }
585
586 // Copy free bits
588
589 // Note: Heap allocations are not copied, only inlined data
590
591 // Copy active allocations count
593 }
594 return *this;
595 }
fl::bitset_fixed< N > m_free_bits
Definition allocator.h:536
fl::size m_active_allocations
Definition allocator.h:537