|
Uni20
Asynchronous tensor and runtime library.
|
Owning proxy returned by co_await read_buffer.transfer().
More...
#include <buffers.hpp>
Public Types | |
| using | value_type = T |
Public Member Functions | |
| T const & | get () const |
| Access the referenced value. | |
| T | get_release () |
| Copy the value and release the read epoch in one call. | |
| operator T const & () const | |
| T const * | operator-> () const |
| OwningReadAccessProxy & | operator= (OwningReadAccessProxy &&) noexcept=delete |
| OwningReadAccessProxy & | operator= (OwningReadAccessProxy const &)=delete |
| OwningReadAccessProxy ()=delete | |
| OwningReadAccessProxy (OwningReadAccessProxy &&) noexcept=default | |
| OwningReadAccessProxy (OwningReadAccessProxy const &)=delete | |
| void | release () noexcept |
| Release the read epoch held by this proxy. | |
Friends | |
| class | OwningReadAwaiter< T > |
| class | ReadBuffer< T > |
| class | ReadMaybeAwaiter< T > |
| class | ReadOrCancelAwaiter< T > |
Owning proxy returned by co_await read_buffer.transfer().
This keeps the read epoch alive until the proxy is released or destroyed.
| using uni20::async::OwningReadAccessProxy< T >::value_type = T |
|
delete |
|
delete |
|
defaultnoexcept |
|
inline |
Access the referenced value.
|
inline |
Copy the value and release the read epoch in one call.
|
inline |
|
inline |
|
deletenoexcept |
|
delete |
|
inlinenoexcept |
Release the read epoch held by this proxy.
|
friend |
|
friend |
|
friend |
|
friend |