Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
FxPartitionAllocAllocator< T, Alloc, Free > Struct Template Reference

#include <fx_memory_wrappers.h>

+ Collaboration diagram for FxPartitionAllocAllocator< T, Alloc, Free >:

Classes

struct  rebind
 

Public Types

using value_type = T
 
using pointer = T*
 
using const_pointer = const T*
 
using reference = T&
 
using const_reference = const T&
 
using size_type = size_t
 
using difference_type = ptrdiff_t
 

Public Member Functions

 FxPartitionAllocAllocator () noexcept=default
 
 FxPartitionAllocAllocator (const FxPartitionAllocAllocator &other) noexcept=default
 
 ~FxPartitionAllocAllocator ()=default
 
template<typename U >
 FxPartitionAllocAllocator (const FxPartitionAllocAllocator< U, Alloc, Free > &other) noexcept
 
pointer address (reference x) const noexcept
 
const_pointer address (const_reference x) const noexcept
 
pointer allocate (size_type n, const void *hint=0)
 
void deallocate (pointer p, size_type n)
 
size_type max_size () const noexcept
 
template<class U , class... Args>
void construct (U *p, Args &&... args)
 
template<class U >
void destroy (U *p)
 
bool operator== (const FxPartitionAllocAllocator &that)
 
bool operator!= (const FxPartitionAllocAllocator &that)
 

Detailed Description

template<class T, void * Alloc, void Free>
struct FxPartitionAllocAllocator< T, Alloc, Free >

Definition at line 34 of file fx_memory_wrappers.h.

Member Typedef Documentation

◆ const_pointer

template<class T , void * Alloc, void Free>
using FxPartitionAllocAllocator< T, Alloc, Free >::const_pointer = const T*

Definition at line 44 of file fx_memory_wrappers.h.

◆ const_reference

template<class T , void * Alloc, void Free>
using FxPartitionAllocAllocator< T, Alloc, Free >::const_reference = const T&

Definition at line 46 of file fx_memory_wrappers.h.

◆ difference_type

template<class T , void * Alloc, void Free>
using FxPartitionAllocAllocator< T, Alloc, Free >::difference_type = ptrdiff_t

Definition at line 48 of file fx_memory_wrappers.h.

◆ pointer

template<class T , void * Alloc, void Free>
using FxPartitionAllocAllocator< T, Alloc, Free >::pointer = T*

Definition at line 43 of file fx_memory_wrappers.h.

◆ reference

template<class T , void * Alloc, void Free>
using FxPartitionAllocAllocator< T, Alloc, Free >::reference = T&

Definition at line 45 of file fx_memory_wrappers.h.

◆ size_type

template<class T , void * Alloc, void Free>
using FxPartitionAllocAllocator< T, Alloc, Free >::size_type = size_t

Definition at line 47 of file fx_memory_wrappers.h.

◆ value_type

template<class T , void * Alloc, void Free>
using FxPartitionAllocAllocator< T, Alloc, Free >::value_type = T

Definition at line 42 of file fx_memory_wrappers.h.

Constructor & Destructor Documentation

◆ FxPartitionAllocAllocator() [1/3]

template<class T , void * Alloc, void Free>
FxPartitionAllocAllocator< T, Alloc, Free >::FxPartitionAllocAllocator ( )
defaultnoexcept

◆ FxPartitionAllocAllocator() [2/3]

template<class T , void * Alloc, void Free>
FxPartitionAllocAllocator< T, Alloc, Free >::FxPartitionAllocAllocator ( const FxPartitionAllocAllocator< T, Alloc, Free > & other)
defaultnoexcept

◆ ~FxPartitionAllocAllocator()

template<class T , void * Alloc, void Free>
FxPartitionAllocAllocator< T, Alloc, Free >::~FxPartitionAllocAllocator ( )
default

◆ FxPartitionAllocAllocator() [3/3]

template<class T , void * Alloc, void Free>
template<typename U >
FxPartitionAllocAllocator< T, Alloc, Free >::FxPartitionAllocAllocator ( const FxPartitionAllocAllocator< U, Alloc, Free > & other)
inlinenoexcept

Definition at line 61 of file fx_memory_wrappers.h.

Member Function Documentation

◆ address() [1/2]

template<class T , void * Alloc, void Free>
const_pointer FxPartitionAllocAllocator< T, Alloc, Free >::address ( const_reference x) const
inlinenoexcept

Definition at line 65 of file fx_memory_wrappers.h.

◆ address() [2/2]

template<class T , void * Alloc, void Free>
pointer FxPartitionAllocAllocator< T, Alloc, Free >::address ( reference x) const
inlinenoexcept

Definition at line 64 of file fx_memory_wrappers.h.

◆ allocate()

template<class T , void * Alloc, void Free>
pointer FxPartitionAllocAllocator< T, Alloc, Free >::allocate ( size_type n,
const void * hint = 0 )
inline

Definition at line 66 of file fx_memory_wrappers.h.

◆ construct()

template<class T , void * Alloc, void Free>
template<class U , class... Args>
void FxPartitionAllocAllocator< T, Alloc, Free >::construct ( U * p,
Args &&... args )
inline

Definition at line 75 of file fx_memory_wrappers.h.

◆ deallocate()

template<class T , void * Alloc, void Free>
void FxPartitionAllocAllocator< T, Alloc, Free >::deallocate ( pointer p,
size_type n )
inline

Definition at line 69 of file fx_memory_wrappers.h.

◆ destroy()

template<class T , void * Alloc, void Free>
template<class U >
void FxPartitionAllocAllocator< T, Alloc, Free >::destroy ( U * p)
inline

Definition at line 80 of file fx_memory_wrappers.h.

◆ max_size()

template<class T , void * Alloc, void Free>
size_type FxPartitionAllocAllocator< T, Alloc, Free >::max_size ( ) const
inlinenoexcept

Definition at line 70 of file fx_memory_wrappers.h.

◆ operator!=()

template<class T , void * Alloc, void Free>
bool FxPartitionAllocAllocator< T, Alloc, Free >::operator!= ( const FxPartitionAllocAllocator< T, Alloc, Free > & that)
inline

Definition at line 86 of file fx_memory_wrappers.h.

◆ operator==()

template<class T , void * Alloc, void Free>
bool FxPartitionAllocAllocator< T, Alloc, Free >::operator== ( const FxPartitionAllocAllocator< T, Alloc, Free > & that)
inline

Definition at line 85 of file fx_memory_wrappers.h.


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