CETL 0.0.0
 
Loading...
Searching...
No Matches
cetl::pf17::pmr::monotonic_buffer_resource Class Reference

Public Member Functions

 monotonic_buffer_resource (std::size_t initial_size, memory_resource *upstream)
 
 monotonic_buffer_resource (size_t initial_size)
 
 monotonic_buffer_resource (void *buffer, size_t buffer_size)
 
 basic_monotonic_buffer_resource (void *buffer, size_t buffer_size, memory_resource *upstream=null_memory_resource())
 
 basic_monotonic_buffer_resource (std::size_t initial_size, memory_resource *upstream)
 
 basic_monotonic_buffer_resource (memory_resource *upstream)
 
 basic_monotonic_buffer_resource (const basic_monotonic_buffer_resource &)=delete
 
- Public Member Functions inherited from cetl::pf17::pmr::deviant::basic_monotonic_buffer_resource
 basic_monotonic_buffer_resource (void *buffer, size_t buffer_size, memory_resource *upstream=null_memory_resource())
 
 basic_monotonic_buffer_resource (std::size_t initial_size, memory_resource *upstream)
 
 basic_monotonic_buffer_resource (memory_resource *upstream)
 
 basic_monotonic_buffer_resource (const basic_monotonic_buffer_resource &)=delete
 
basic_monotonic_buffer_resourceoperator= (const basic_monotonic_buffer_resource &)=delete
 
void release () noexcept
 
memory_resourceupstream_resource () const
 
- Public Member Functions inherited from cetl::pf17::pmr::memory_resource
 memory_resource ()=default
 
 memory_resource (const memory_resource &rhs)=default
 
virtual ~memory_resource ()=default
 
memory_resourceoperator= (const memory_resource &rhs)=default
 
void * allocate (std::size_t size_bytes, std::size_t alignment=alignof(std::max_align_t))
 
void deallocate (void *p, std::size_t size_bytes, std::size_t alignment=alignof(std::max_align_t))
 
bool is_equal (const memory_resource &rhs) const noexcept
 
std::size_t max_size () const noexcept
 
void * reallocate (void *ptr, std::size_t old_size_bytes, std::size_t new_size_bytes, std::size_t alignment=alignof(std::max_align_t))
 

Additional Inherited Members

- Protected Member Functions inherited from cetl::pf17::pmr::deviant::basic_monotonic_buffer_resource
void * do_allocate (std::size_t size_bytes, std::size_t alignment) override
 
void do_deallocate (void *p, std::size_t size_bytes, std::size_t alignment) override
 
bool do_is_equal (const memory_resource &rhs) const noexcept override
 
std::size_t do_max_size () const noexcept override
 

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