libfilezilla
|
#include <aio.hpp>
Public Member Functions | |
buffer_lease (buffer_lease &&op) noexcept | |
buffer_lease & | operator= (buffer_lease &&op) noexcept |
buffer_lease (buffer_lease const &)=delete | |
buffer_lease & | operator= (buffer_lease const &)=delete |
operator bool () const | |
nonowning_buffer const * | operator-> () const |
nonowning_buffer * | operator-> () |
nonowning_buffer const & | operator* () const |
nonowning_buffer & | operator* () |
void | release () |
Public Attributes | |
nonowning_buffer | buffer_ |
Friends | |
class | aio_buffer_pool |
A buffer leased from aio_buffer_pool
The owner of the buffer_lease has exclusive access to the buffer until the buffer_lease is released back into the pool. Ownership can be moved.