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

◆ operator=() [2/2]

template<typename T>
Guard & MayaFlux::Memory::SnapshotCell< T >::Guard::operator= ( Guard && other)
inlinenoexcept

Definition at line 61 of file SnapshotCell.hpp.

62 {
63 if (this != &other) {
64 release();
65 m_cell = std::exchange(other.m_cell, nullptr);
66 m_value = std::exchange(other.m_value, nullptr);
67 }
68 return *this;
69 }
Lock-free cell holding one immutable snapshot of a value, read without blocking.

References Guard(), m_cell, m_value, and release().

Here is the call graph for this function: