Cppgres
Build Postgres extensions in C++
Loading...
Searching...
No Matches
cppgres::alloc_set_memory_context Struct Reference
Inheritance diagram for cppgres::alloc_set_memory_context:
cppgres::owned_memory_context cppgres::abstract_memory_context

Public Member Functions

 alloc_set_memory_context (memory_context &ctx)
 
 owned_memory_context (::MemoryContext context)
 
- Public Member Functions inherited from cppgres::abstract_memory_context
template<typename T = std::byte>
T * alloc (size_t n=1)
 
template<typename T = void>
void free (T *ptr)
 
void reset ()
 
bool operator== (abstract_memory_context &c)
 
bool operator!= (abstract_memory_context &c)
 
 operator::MemoryContext ()
 
::MemoryContextCallback * register_reset_callback (::MemoryContextCallbackFunction func, void *arg)
 
void delete_context ()
 

Additional Inherited Members

- Protected Member Functions inherited from cppgres::owned_memory_context
 owned_memory_context (::MemoryContext context)
 
::MemoryContext _memory_context () override
 
virtual ::MemoryContext _memory_context ()=0
 
- Protected Attributes inherited from cppgres::owned_memory_context
::MemoryContext context
 
bool moved
 

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