Allocator Builder
Policy Based C++ Template Allocator Library
 All Classes Functions Variables Enumerations Enumerator Groups Pages
alb::v_100::traits::affix_extractor< Allocator, T > Struct Template Reference

#include <affix_allocator.hpp>

Static Public Member Functions

static constexpr T * prefix (Allocator &, const block &) noexcept
 
static constexpr T * sufix (Allocator &, const block &) noexcept
 

Detailed Description

template<class Allocator, typename T>
struct alb::v_100::traits::affix_extractor< Allocator, T >

This trait implements a generic way to access a possible Affix surrounded by a ALB::Block. In general it returns a nullptr. Only if the passed Allocator is an affix_allocator it returns a real object

Definition at line 252 of file affix_allocator.hpp.


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