GRPC C++  1.26.0
Data Structures | Public Member Functions | Static Public Member Functions
grpc_core::Arena Class Reference

#include <arena.h>

Public Member Functions

size_t Destroy ()
 
void * Alloc (size_t size)
 
template<typename T , typename... Args>
T * New (Args &&... args)
 

Static Public Member Functions

static ArenaCreate (size_t initial_size)
 
static std::pair< Arena *, void * > CreateWithAlloc (size_t initial_size, size_t alloc_size)
 

Member Function Documentation

◆ Alloc()

void* grpc_core::Arena::Alloc ( size_t  size)
inline

◆ Create()

static Arena* grpc_core::Arena::Create ( size_t  initial_size)
static

◆ CreateWithAlloc()

static std::pair<Arena*, void*> grpc_core::Arena::CreateWithAlloc ( size_t  initial_size,
size_t  alloc_size 
)
static

◆ Destroy()

size_t grpc_core::Arena::Destroy ( )

◆ New()

template<typename T , typename... Args>
T* grpc_core::Arena::New ( Args &&...  args)
inline

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