libcoro  1.0
Coroutine support library for C++20

◆ queue() [4/4]

template<typename T , typename QueueImpl = std::queue<T>>
coro::queue< T, QueueImpl >::queue ( queue< T, QueueImpl > &&  other)
inline

The queue is movable.

Parameters
othersource queue instance. The queue is moved with awaiting coroutines.
Note
source queue becomes closed. You should avoid MT access during the moving.

Definition at line 43 of file queue.h.