MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ empty()

template<typename T >
bool MayaFlux::Memory::SweepList< T >::empty ( ) const
inlinenoexcept

Whether the list currently holds no items.

Same staleness caveat as approx_size().

Definition at line 214 of file SweepList.hpp.

215 {
216 return m_head.load(std::memory_order_acquire) == nullptr;
217 }
std::atomic< Link * > m_head

References MayaFlux::Memory::SweepList< T >::m_head.