Honeycomb
0.1
Component-Model Framework
|
Enables blocks to be referenced via index rather than pointer so that they can include a tag while still maintaining a swappable size. More...
#include <Pool.h>
Public Types | |
typedef mt::uintBySize< sizeof(atomic::SwapMaxType)/2 >::type | Int |
Public Member Functions | |
Handle () | |
Handle (nullptr_t) | |
Handle (uint8 chunk, Int block) | |
bool | operator== (Handle rhs) const |
bool | operator!= (Handle rhs) const |
operator bool () const | |
uint8 | chunk () const |
Int | block () const |
Public Attributes | |
Int | index |
Enables blocks to be referenced via index rather than pointer so that they can include a tag while still maintaining a swappable size.
Each chunk holds an exponential expansion of a bucket, so a 1-byte chunk index is sufficient.
typedef mt::uintBySize<sizeof(atomic::SwapMaxType)/2>::type honey::MemPool::Bucket::Handle::Int |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineexplicit |
|
inline |
|
inline |
Int honey::MemPool::Bucket::Handle::index |