Skip to content

Struct cubmem::block_allocator

ClassList > cubmem > block_allocator

  • #include <mem_block.hpp>

Inherited by the following classes: parser_block_allocator

Public Types

Type Name
typedef std::function< void(block &b, size_t size)> alloc_func
typedef std::function< void(block &b)> dealloc_func

Public Attributes

Type Name
alloc_func m_alloc_f
dealloc_func m_dealloc_f

Public Functions

Type Name
block_allocator () = delete
block_allocator (const alloc_func & alloc_f, const dealloc_func & dealloc_f)
block_allocator & operator= (const block_allocator & other)

Public Types Documentation

typedef alloc_func

using cubmem::block_allocator::alloc_func =  std::function<void (block &b, size_t size)>;

typedef dealloc_func

using cubmem::block_allocator::dealloc_func =  std::function<void (block &b)>;

Public Attributes Documentation

variable m_alloc_f

alloc_func cubmem::block_allocator::m_alloc_f;

variable m_dealloc_f

dealloc_func cubmem::block_allocator::m_dealloc_f;

Public Functions Documentation

function block_allocator [1/2]

cubmem::block_allocator::block_allocator () = delete

function block_allocator [2/2]

cubmem::block_allocator::block_allocator (
    const  alloc_func & alloc_f,
    const  dealloc_func & dealloc_f
) 

function operator=

block_allocator & cubmem::block_allocator::operator= (
    const  block_allocator & other
) 


The documentation for this class was generated from the following file cubrid/src/base/mem_block.hpp