xrpld
Loading...
Searching...
No Matches
xrpl::SlabAllocatorSet< Type >::SlabConfig Class Reference

#include <SlabAllocator.h>

Collaboration diagram for xrpl::SlabAllocatorSet< Type >::SlabConfig:

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 xrpl::SlabAllocatorSet< Type >::SlabConfig

Definition at line 291 of file SlabAllocator.h.

Constructor & Destructor Documentation

◆ SlabConfig()

template<typename Type>
xrpl::SlabAllocatorSet< Type >::SlabConfig::SlabConfig ( std::size_t extra,
std::size_t alloc = 0,
std::size_t align = alignof(Type) )
constexpr

Definition at line 301 of file SlabAllocator.h.

◆ SlabAllocatorSet

template<typename Type>
friend class SlabAllocatorSet
friend

Definition at line 293 of file SlabAllocator.h.

Member Data Documentation

◆ extra_

template<typename Type>
std::size_t xrpl::SlabAllocatorSet< Type >::SlabConfig::extra_
private

Definition at line 296 of file SlabAllocator.h.

◆ alloc_

template<typename Type>
std::size_t xrpl::SlabAllocatorSet< Type >::SlabConfig::alloc_
private

Definition at line 297 of file SlabAllocator.h.

◆ align_

template<typename Type>
std::size_t xrpl::SlabAllocatorSet< Type >::SlabConfig::align_
private

Definition at line 298 of file SlabAllocator.h.