libfilezilla
Public Member Functions | Public Attributes | Friends | List of all members
buffer_lease Class Referencefinal

#include <aio.hpp>

Collaboration diagram for buffer_lease:
Collaboration graph
[legend]

Public Member Functions

 buffer_lease (buffer_lease &&op) noexcept
 
buffer_leaseoperator= (buffer_lease &&op) noexcept
 
 buffer_lease (buffer_lease const &)=delete
 
buffer_leaseoperator= (buffer_lease const &)=delete
 
 operator bool () const
 
nonowning_buffer const * operator-> () const
 
nonowning_bufferoperator-> ()
 
nonowning_buffer const & operator* () const
 
nonowning_bufferoperator* ()
 
void release ()
 

Public Attributes

nonowning_buffer buffer_
 

Friends

class aio_buffer_pool
 

Detailed Description

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.


The documentation for this class was generated from the following file: