#include <mdbx.h++>
Classes | |
| struct | capacity_holder |
| struct | inplace_flag_holder |
| struct | stub_allocated_holder |
Public Types | |
| enum | : byte { lastbyte_poison = 0 , lastbyte_inplace_signature = byte(~byte(lastbyte_poison)) } |
| enum | : size_t { inplace_signature_limit , inplace_size_rounding = size_t(inplace_storage_size_rounding) - 1 , inplace_size } |
Public Member Functions | |
| constexpr bool | is_inplace () const noexcept |
| constexpr bool | is_allocated () const noexcept |
| template<bool destroy_ptr> | |
| constexpr byte * | make_inplace () noexcept |
| template<bool construct_ptr> | |
| constexpr byte * | make_allocated (allocator_pointer ptr, size_t capacity_bytes) noexcept |
| constexpr | bin (size_t capacity_bytes=0) noexcept |
| constexpr | bin (allocator_pointer ptr, size_t capacity_bytes) noexcept |
| constexpr | ~bin () |
| constexpr | bin (bin &&ditto) noexcept |
| constexpr bin & | operator= (const bin &ditto) noexcept |
| constexpr bin & | operator= (bin &&ditto) noexcept |
| constexpr const byte * | address () const noexcept |
| constexpr byte * | address () noexcept |
| constexpr size_t | capacity () const noexcept |
Static Public Member Functions | |
| static constexpr bool | is_suitable_for_inplace (size_t capacity_bytes) noexcept |
| static constexpr size_t | advise_capacity (const size_t current, const size_t wanna) |
Public Attributes | |
| allocator_pointer | allocated_ptr_ |
| capacity_holder | capacity_ |
| inplace_flag_holder | inplace_ |
| struct mdbx::buffer::silo::bin::capacity_holder |
| Class Members | ||
|---|---|---|
| size_t | bytes_ | |
| byte | pad_[inplace_size - sizeof(allocator_pointer)] | |
| struct mdbx::buffer::silo::bin::inplace_flag_holder |
| Class Members | ||
|---|---|---|
| byte | buffer_[inplace_size - sizeof(byte)] | |
| byte | lastbyte_ | |
| struct mdbx::buffer::silo::bin::stub_allocated_holder |
| anonymous enum : size_t |
| anonymous enum : byte |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexpr |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlinestaticconstexpr |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlinestaticconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
| allocator_pointer mdbx::buffer< ALLOCATOR, CAPACITY_POLICY >::silo::bin::allocated_ptr_ |
| capacity_holder mdbx::buffer< ALLOCATOR, CAPACITY_POLICY >::silo::bin::capacity_ |
| inplace_flag_holder mdbx::buffer< ALLOCATOR, CAPACITY_POLICY >::silo::bin::inplace_ |