Anklang 0.3.0-460-gc4ef46ba
ASE — Anklang Sound Engine (C++)

« « « Anklang Documentation
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Attributes | List of all members
Ase::Loft::Allocator< T > Class Template Reference

Allocator for STL containers. More...

#include "loft.hh"

Inheritance diagram for Ase::Loft::Allocator< T >:
[legend]

Public Types

using value_type = T
 

Public Member Functions

template<typename U >
 Allocator (const Allocator< U > &other) noexcept
 
bool operator== (const Allocator< T > &o) const noexcept
 
bool operator!= (const Allocator< T > &o) const noexcept
 
constexpr void deallocate (T *p, size_t n) const noexcept
 
constexpr T * allocate (std::size_t n) const
 

Static Public Attributes

static constexpr bool allows_read_after_free
 

Detailed Description

template<typename T>
class Ase::Loft::Allocator< T >

Allocator for STL containers.

Definition at line 89 of file loft.hh.

Member Typedef Documentation

◆ value_type

template<typename T >
using Ase::Loft::Allocator< T >::value_type = T

Definition at line 91 of file loft.hh.

Constructor & Destructor Documentation

◆ Allocator()

template<typename T >
template<typename U >
Ase::Loft::Allocator< T >::Allocator ( const Allocator< U > &  other)
noexcept

Definition at line 93 of file loft.hh.

Member Function Documentation

◆ allocate()

template<typename T >
constexpr T * Ase::Loft::Allocator< T >::allocate ( std::size_t  n) const
constexpr

Definition at line 98 of file loft.hh.

◆ deallocate()

template<typename T >
constexpr void Ase::Loft::Allocator< T >::deallocate ( T *  p,
size_t  n 
) const
constexprnoexcept

Definition at line 96 of file loft.hh.

◆ operator!=()

template<typename T >
bool Ase::Loft::Allocator< T >::operator!= ( const Allocator< T > &  o) const
noexcept

Definition at line 95 of file loft.hh.

◆ operator==()

template<typename T >
bool Ase::Loft::Allocator< T >::operator== ( const Allocator< T > &  o) const
noexcept

Definition at line 94 of file loft.hh.

Member Data Documentation

◆ allows_read_after_free

template<typename T >
constexpr bool Ase::Loft::Allocator< T >::allows_read_after_free
staticconstexpr

Definition at line 105 of file loft.hh.


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