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

◆ GraphicsRoutine() [3/3]

MayaFlux::Vruta::GraphicsRoutine::GraphicsRoutine ( GraphicsRoutine &&  other)
noexcept

Move constructor.

Parameters
otherGraphicsRoutine to move from

Transfers ownership of the coroutine from other to this GraphicsRoutine. After the move, other no longer references any coroutine.

Definition at line 244 of file Routine.cpp.

245 : m_handle(std::exchange(other.m_handle, nullptr))
246{
247}
std::coroutine_handle< promise_type > m_handle
Handle to the underlying coroutine.
Definition Routine.hpp:654