libcoro
1.0
Coroutine support library for C++20
|
tracks ownership More...
#include <mutex.h>
Public Member Functions | |
ownership ()=default | |
ownership can be default constructed More... | |
ownership (ownership &&x) | |
ownership can be moved More... | |
ownership & | operator= (ownership &&x) |
ownership can be assigned by move More... | |
~ownership () | |
dtor releases ownership More... | |
void | release () |
releases ownership explicitly (unlock) More... | |
operator bool () const | |
test whether ownership is held More... | |