rippled
Public Member Functions | Private Attributes | Friends | List of all members
ripple::SlabAllocatorSet< Type >::SlabConfig Class Reference
Collaboration diagram for ripple::SlabAllocatorSet< Type >::SlabConfig:
Collaboration graph
[legend]

Public Member Functions

constexpr SlabConfig (std::size_t extra_, std::size_t alloc_=0, std::size_t align_=alignof(Type))
 

Private Attributes

std::size_t extra
 
std::size_t alloc
 
std::size_t align
 

Friends

class SlabAllocatorSet
 

Detailed Description

template<typename Type>
class ripple::SlabAllocatorSet< Type >::SlabConfig

Definition at line 323 of file SlabAllocator.h.

Constructor & Destructor Documentation

◆ SlabConfig()

template<typename Type >
constexpr ripple::SlabAllocatorSet< Type >::SlabConfig::SlabConfig ( std::size_t  extra_,
std::size_t  alloc_ = 0,
std::size_t  align_ = alignof(Type) 
)
constexpr

Definition at line 333 of file SlabAllocator.h.

Friends And Related Function Documentation

◆ SlabAllocatorSet

template<typename Type >
friend class SlabAllocatorSet
friend

Definition at line 325 of file SlabAllocator.h.

Member Data Documentation

◆ extra

template<typename Type >
std::size_t ripple::SlabAllocatorSet< Type >::SlabConfig::extra
private

Definition at line 328 of file SlabAllocator.h.

◆ alloc

template<typename Type >
std::size_t ripple::SlabAllocatorSet< Type >::SlabConfig::alloc
private

Definition at line 329 of file SlabAllocator.h.

◆ align

template<typename Type >
std::size_t ripple::SlabAllocatorSet< Type >::SlabConfig::align
private

Definition at line 330 of file SlabAllocator.h.