libmdbx  0.11.6.39 (2022-04-13T11:05:50+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
 
MDBX_CXX17_CONSTEXPR allocatedoperator= (const allocated &) noexcept=default
 
MDBX_CXX17_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 >
MDBX_CXX17_CONSTEXPR allocated& mdbx::buffer< ALLOCATOR, CAPACITY_POLICY >::silo::bin::allocated::operator= ( allocated &&  )
defaultnoexcept

◆ operator=() [2/2]

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

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: