rippled
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | Friends | List of all members
ripple::SlabAllocatorSet< Type >::SlabConfig Class Reference

#include <SlabAllocator.h>

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 315 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 325 of file SlabAllocator.h.

Friends And Related Symbol Documentation

◆ SlabAllocatorSet

template<typename Type >
friend class SlabAllocatorSet
friend

Definition at line 317 of file SlabAllocator.h.

Member Data Documentation

◆ extra

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

Definition at line 320 of file SlabAllocator.h.

◆ alloc

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

Definition at line 321 of file SlabAllocator.h.

◆ align

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

Definition at line 322 of file SlabAllocator.h.