IDA C++ SDK 9.2
Loading...
Searching...
No Matches
qallocator< T, AllocPolicy > Struct Template Reference

#include <qallocator.hpp>

Classes

struct  rebind

Public Types

using value_type = T
using pointer = T *
using const_pointer = const T *
using void_pointer = void *
using const_void_pointer = const void *
using size_type = std::size_t
using difference_type = std::ptrdiff_t
using propagate_on_container_copy_assignment = std::true_type
using propagate_on_container_move_assignment = std::true_type
using propagate_on_container_swap = std::true_type
using is_always_equal = std::true_type

Public Member Functions

 qallocator () noexcept=default
template<class U>
 qallocator (const qallocator< U, AllocPolicy > &) noexcept
pointer allocate (size_type n)
void deallocate (pointer p, size_type) noexcept
size_type max_size () const noexcept
bool operator== (const qallocator &) const noexcept
bool operator!= (const qallocator &) const noexcept

Member Typedef Documentation

◆ value_type

template<class T, class AllocPolicy>
using qallocator< T, AllocPolicy >::value_type = T

◆ pointer

template<class T, class AllocPolicy>
using qallocator< T, AllocPolicy >::pointer = T *

◆ const_pointer

template<class T, class AllocPolicy>
using qallocator< T, AllocPolicy >::const_pointer = const T *

◆ void_pointer

template<class T, class AllocPolicy>
using qallocator< T, AllocPolicy >::void_pointer = void *

◆ const_void_pointer

template<class T, class AllocPolicy>
using qallocator< T, AllocPolicy >::const_void_pointer = const void *

◆ size_type

template<class T, class AllocPolicy>
using qallocator< T, AllocPolicy >::size_type = std::size_t

◆ difference_type

template<class T, class AllocPolicy>
using qallocator< T, AllocPolicy >::difference_type = std::ptrdiff_t

◆ propagate_on_container_copy_assignment

template<class T, class AllocPolicy>
using qallocator< T, AllocPolicy >::propagate_on_container_copy_assignment = std::true_type

◆ propagate_on_container_move_assignment

template<class T, class AllocPolicy>
using qallocator< T, AllocPolicy >::propagate_on_container_move_assignment = std::true_type

◆ propagate_on_container_swap

template<class T, class AllocPolicy>
using qallocator< T, AllocPolicy >::propagate_on_container_swap = std::true_type

◆ is_always_equal

template<class T, class AllocPolicy>
using qallocator< T, AllocPolicy >::is_always_equal = std::true_type

Constructor & Destructor Documentation

◆ qallocator() [1/2]

template<class T, class AllocPolicy>
qallocator< T, AllocPolicy >::qallocator ( )
defaultnoexcept

◆ qallocator() [2/2]

template<class T, class AllocPolicy>
template<class U>
qallocator< T, AllocPolicy >::qallocator ( const qallocator< U, AllocPolicy > & )
inlinenoexcept

Member Function Documentation

◆ allocate()

template<class T, class AllocPolicy>
pointer qallocator< T, AllocPolicy >::allocate ( size_type n)
inlinenodiscard

◆ deallocate()

template<class T, class AllocPolicy>
void qallocator< T, AllocPolicy >::deallocate ( pointer p,
size_type  )
inlinenoexcept

◆ max_size()

template<class T, class AllocPolicy>
size_type qallocator< T, AllocPolicy >::max_size ( ) const
inlinenoexcept

◆ operator==()

template<class T, class AllocPolicy>
bool qallocator< T, AllocPolicy >::operator== ( const qallocator< T, AllocPolicy > & ) const
inlinenoexcept

◆ operator!=()

template<class T, class AllocPolicy>
bool qallocator< T, AllocPolicy >::operator!= ( const qallocator< T, AllocPolicy > & ) const
inlinenoexcept

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