libmdbx  0.12.10.0 (2024-03-13T14:57:38+03:00)
One of the fastest compact embeddable key-value ACID database without WAL.
mdbx::buffer< ALLOCATOR, CAPACITY_POLICY >::silo::bin::allocated Struct Reference

#include <mdbx.h++>

Public Member Functions

constexpr allocated (allocator_pointer ptr, size_t bytes) noexcept
 
constexpr allocated (const allocated &) noexcept=default
 
constexpr allocated (allocated &&) noexcept=default
 
constexpr allocatedoperator= (const allocated &) noexcept=default
 
constexpr allocatedoperator= (allocated &&) noexcept=default
 

Public Attributes

allocator_pointer ptr_
 
size_t capacity_bytes_
 

Constructor & Destructor Documentation

◆ allocated() [1/3]

template<class ALLOCATOR , typename CAPACITY_POLICY >
constexpr mdbx::buffer< ALLOCATOR, CAPACITY_POLICY >::silo::bin::allocated::allocated ( allocator_pointer  ptr,
size_t  bytes 
)
inlineconstexprnoexcept

◆ allocated() [2/3]

template<class ALLOCATOR , typename CAPACITY_POLICY >
constexpr mdbx::buffer< ALLOCATOR, CAPACITY_POLICY >::silo::bin::allocated::allocated ( const allocated )
constexprdefaultnoexcept

◆ allocated() [3/3]

template<class ALLOCATOR , typename CAPACITY_POLICY >
constexpr mdbx::buffer< ALLOCATOR, CAPACITY_POLICY >::silo::bin::allocated::allocated ( allocated &&  )
constexprdefaultnoexcept

Member Function Documentation

◆ operator=() [1/2]

template<class ALLOCATOR , typename CAPACITY_POLICY >
constexpr allocated& mdbx::buffer< ALLOCATOR, CAPACITY_POLICY >::silo::bin::allocated::operator= ( allocated &&  )
constexprdefaultnoexcept

◆ operator=() [2/2]

template<class ALLOCATOR , typename CAPACITY_POLICY >
constexpr allocated& mdbx::buffer< ALLOCATOR, CAPACITY_POLICY >::silo::bin::allocated::operator= ( const allocated )
constexprdefaultnoexcept

Member Data Documentation

◆ capacity_bytes_

template<class ALLOCATOR , typename CAPACITY_POLICY >
size_t mdbx::buffer< ALLOCATOR, CAPACITY_POLICY >::silo::bin::allocated::capacity_bytes_

◆ ptr_

template<class ALLOCATOR , typename CAPACITY_POLICY >
allocator_pointer mdbx::buffer< ALLOCATOR, CAPACITY_POLICY >::silo::bin::allocated::ptr_

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