(3dce9b5818576f04ce21cec4b3686eda012e5b65)
#include <limits>
#include <type_traits>
#include <utility>
#include "core/fxcrt/fx_memory.h"
Go to the source code of this file.
|
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 |
|
◆ FX_DATA_PARTITION_EXCEPTION
#define FX_DATA_PARTITION_EXCEPTION |
( |
| T | ) |
|
◆ FxAllocAllocator
template<typename T , typename = std::enable_if_t<std::is_arithmetic<T>::value || std::is_enum<T>::value || IsFXDataPartitionException<T>::value>>
Initial value:
void * AllocOrDie(size_t num_members, size_t member_size)
Definition at line 95 of file fx_memory_wrappers.h.
◆ FxStringAllocator
Initial value:
void * StringAllocOrDie(size_t num_members, size_t member_size)
void StringDealloc(void *ptr)
Definition at line 102 of file fx_memory_wrappers.h.