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

◆ ~SweepList()

template<typename T >
MayaFlux::Memory::SweepList< T >::~SweepList ( )
inline

Drains and discards any remaining items without inspecting them.

Callers that need every item finalized, exceptions observed, results consumed, must call drain() with a finish functor before destruction. The destructor exists only to free links a caller genuinely abandoned.

Definition at line 84 of file SweepList.hpp.

85 {
86 drain([](T&) noexcept { });
87 }
void drain(Finish finish)
Blocking pass that finalizes every item currently held.

References MayaFlux::Memory::SweepList< T >::drain().

+ Here is the call graph for this function: