Lumiera 0.pre.04~rc.1
»edit your freedom«
Loading...
Searching...
No Matches
AllocationCluster::Allocator< X > Struct Template Reference

#include "lib/allocation-cluster.hpp"

Description

template<typename X>
struct lib::AllocationCluster::Allocator< X >

Definition at line 141 of file allocation-cluster.hpp.

Public Types

using value_type = X
 

Public Attributes

AllocationClustermother_
 

Public Member Functions

X * allocate (size_t n)
 
void deallocate (X *, size_t) noexcept
 
 Allocator (AllocationCluster *m)
 
template<typename T >
 Allocator (Allocator< T > const &o)
 
template<typename T >
bool operator== (Allocator< T > const &o) const
 

Constructor & Destructor Documentation

◆ Allocator() [1/2]

template<typename X >
Allocator ( AllocationCluster m)
inline

Definition at line 148 of file allocation-cluster.hpp.

◆ Allocator() [2/2]

template<typename X >
template<typename T >
Allocator ( Allocator< T > const &  o)
inline

Definition at line 151 of file allocation-cluster.hpp.

Member Typedef Documentation

◆ value_type

template<typename X >
using value_type = X

Definition at line 143 of file allocation-cluster.hpp.

Member Function Documentation

◆ allocate()

template<typename X >
X * allocate ( size_t  n)
inline

Definition at line 145 of file allocation-cluster.hpp.

◆ deallocate()

template<typename X >
void deallocate ( X *  ,
size_t   
)
inlinenoexcept

Definition at line 146 of file allocation-cluster.hpp.

◆ operator==()

template<typename X >
template<typename T >
bool operator== ( Allocator< T > const &  o) const
inline

Member Data Documentation

◆ mother_

template<typename X >
AllocationCluster* mother_
+ Collaboration diagram for AllocationCluster::Allocator< X >:

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