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
fx_memory_wrappers.h File Reference

(3dce9b5818576f04ce21cec4b3686eda012e5b65)

#include <limits>
#include <type_traits>
#include <utility>
#include "core/fxcrt/fx_memory.h"
+ Include dependency graph for fx_memory_wrappers.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  FxFreeDeleter
 
struct  IsFXDataPartitionException< T >
 
struct  FxPartitionAllocAllocator< T, Alloc, Free >
 
struct  FxPartitionAllocAllocator< T, Alloc, Free >::rebind< U >
 

Macros

#define FX_DATA_PARTITION_EXCEPTION(T)
 

Typedefs

template<typename T , typename = std::enable_if_t<std::is_arithmetic<T>::value || std::is_enum<T>::value || IsFXDataPartitionException<T>::value>>
using FxAllocAllocator
 
template<typename T >
using FxStringAllocator
 

Macro Definition Documentation

◆ FX_DATA_PARTITION_EXCEPTION

#define FX_DATA_PARTITION_EXCEPTION ( T)
Value:
template <> \
struct IsFXDataPartitionException<T> : std::true_type {}

Definition at line 26 of file fx_memory_wrappers.h.

Typedef Documentation

◆ FxAllocAllocator

template<typename T , typename = std::enable_if_t<std::is_arithmetic<T>::value || std::is_enum<T>::value || IsFXDataPartitionException<T>::value>>
using FxAllocAllocator
Initial value:

Definition at line 95 of file fx_memory_wrappers.h.

◆ FxStringAllocator

template<typename T >
using FxStringAllocator
Initial value:

Definition at line 102 of file fx_memory_wrappers.h.