NIM 跨平台 C++ SDK
|
#include <phmap_base.h>
Public 类型 | |
using | allocator_type = Alloc |
using | value_type = typename Alloc::value_type |
using | pointer |
using | const_pointer |
using | void_pointer |
using | const_void_pointer |
using | difference_type |
using | size_type |
using | propagate_on_container_copy_assignment |
using | propagate_on_container_move_assignment |
using | propagate_on_container_swap |
using | is_always_equal |
template<typename T > | |
using | rebind_alloc = typename memory_internal::RebindAlloc<Alloc, T>::type |
template<typename T > | |
using | rebind_traits = phmap::allocator_traits<rebind_alloc<T>> |
静态 Public 成员函数 | |
static pointer | allocate (Alloc &a, size_type n) |
static pointer | allocate (Alloc &a, size_type n, const_void_pointer hint) |
static void | deallocate (Alloc &a, pointer p, size_type n) |
template<typename T , typename... Args> | |
static void | construct (Alloc &a, T *p, Args &&... args) |
template<typename T > | |
static void | destroy (Alloc &a, T *p) |
static size_type | max_size (const Alloc &a) |
static Alloc | select_on_container_copy_construction (const Alloc &a) |
静态 Private 成员函数 | |
template<typename A > | |
static auto | allocate_impl (int, A &a, size_type n, const_void_pointer hint) -> decltype(a.allocate(n, hint)) |
static pointer | allocate_impl (char, Alloc &a, size_type n, const_void_pointer) |
template<typename A , typename... Args> | |
static auto | construct_impl (int, A &a, Args &&... args) -> decltype(std::allocator_traits< A >::construct(a, std::forward< Args >(args)...)) |
template<typename T , typename... Args> | |
static void | construct_impl (char, Alloc &, T *p, Args &&... args) |
template<typename A , typename T > | |
static auto | destroy_impl (int, A &a, T *p) -> decltype(std::allocator_traits< A >::destroy(a, p)) |
template<typename T > | |
static void | destroy_impl (char, Alloc &, T *p) |
template<typename A > | |
static auto | max_size_impl (int, const A &a) -> decltype(a.max_size()) |
static size_type | max_size_impl (char, const Alloc &) |
template<typename A > | |
static auto | select_on_container_copy_construction_impl (int, const A &a) -> decltype(a.select_on_container_copy_construction()) |
static Alloc | select_on_container_copy_construction_impl (char, const Alloc &a) |
using phmap::allocator_traits< Alloc >::allocator_type = Alloc |
using phmap::allocator_traits< Alloc >::const_pointer |
using phmap::allocator_traits< Alloc >::const_void_pointer |
using phmap::allocator_traits< Alloc >::difference_type |
using phmap::allocator_traits< Alloc >::is_always_equal |
using phmap::allocator_traits< Alloc >::pointer |
using phmap::allocator_traits< Alloc >::propagate_on_container_copy_assignment |
using phmap::allocator_traits< Alloc >::propagate_on_container_move_assignment |
using phmap::allocator_traits< Alloc >::propagate_on_container_swap |
using phmap::allocator_traits< Alloc >::rebind_alloc = typename memory_internal::RebindAlloc<Alloc, T>::type |
using phmap::allocator_traits< Alloc >::rebind_traits = phmap::allocator_traits<rebind_alloc<T>> |
using phmap::allocator_traits< Alloc >::size_type |
using phmap::allocator_traits< Alloc >::value_type = typename Alloc::value_type |
using phmap::allocator_traits< Alloc >::void_pointer |
|
inlinestatic |
|
inlinestatic |
|
inlinestaticprivate |
|
inlinestaticprivate |
|
inlinestatic |
|
inlinestaticprivate |
|
inlinestaticprivate |
|
inlinestatic |
|
inlinestatic |
|
inlinestaticprivate |
|
inlinestaticprivate |
|
inlinestatic |
|
inlinestaticprivate |
|
inlinestaticprivate |
|
inlinestatic |
|
inlinestaticprivate |
|
inlinestaticprivate |