SyTen
syten::EternalMalloc::Region Struct Reference

Struct representing one region of the eternal malloc pool. More...

Public Member Functions

Regionoperator= (Region &&o)
 Move assignment operator steals the region from o More...
 
Regionoperator= (Region const &)=delete
 Copy assignment operator deleted. More...
 
 Region (Region &&o)
 Move ctor steals the region from o More...
 
 Region (Region const &)=delete
 Copy ctor deleted. More...
 
 Region (void *begin_, std::size_t const size)
 Ctor, *this now owns the region of size size at begin_ and will call l_free(begin_) when destructed. More...
 
 ~Region ()
 Dtor, frees the region. More...
 

Public Attributes

void * begin {nullptr}
 Beginning of the region, if nullptr, don't free it. More...
 
void * current {nullptr}
 Beginning of currently unused space in the region. More...
 
void * end {nullptr}
 One past the end of the region. More...
 

Detailed Description

Struct representing one region of the eternal malloc pool.


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