NIM PC Cross Platform SDK
载入中...
搜索中...
未找到
phmap::memory_internal 命名空间参考

struct  ElementType
 
struct  ElementType< T, void_t< typename T::element_type > >
 
struct  ExtractOr
 
struct  ExtractOr< Extract, Obj, Default, void_t< Extract< Obj > > >
 
struct  GetFirstArg
 
struct  GetFirstArg< Class< T, Args... > >
 
struct  MakeUniqueResult
 
struct  MakeUniqueResult< T[]>
 
struct  MakeUniqueResult< T[N]>
 
struct  RebindAlloc
 
struct  RebindAlloc< A, U, true >
 
struct  RebindFirstArg
 
struct  RebindFirstArg< Class< T, Args... >, U >
 
struct  RebindPtr
 
struct  RebindPtr< T, U, void_t< typename T::template rebind< U > > >
 

类型定义

template<template< typename > class Extract, typename Obj , typename Default >
using ExtractOrT = typename ExtractOr< Extract, Obj, Default, void >::type
 
template<typename T >
using GetPointer = typename T::pointer
 
template<typename T >
using GetConstPointer = typename T::const_pointer
 
template<typename T >
using GetVoidPointer = typename T::void_pointer
 
template<typename T >
using GetConstVoidPointer = typename T::const_void_pointer
 
template<typename T >
using GetDifferenceType = typename T::difference_type
 
template<typename T >
using GetSizeType = typename T::size_type
 
template<typename T >
using GetPropagateOnContainerCopyAssignment = typename T::propagate_on_container_copy_assignment
 
template<typename T >
using GetPropagateOnContainerMoveAssignment = typename T::propagate_on_container_move_assignment
 
template<typename T >
using GetPropagateOnContainerSwap = typename T::propagate_on_container_swap
 
template<typename T >
using GetIsAlwaysEqual = typename T::is_always_equal
 
template<typename Alloc >
using GetIsNothrow = typename Alloc::is_nothrow
 

函数

template<typename T , typename U >
constexpr bool HasRebindAlloc (...)
 
template<typename T , typename U >
constexpr bool HasRebindAlloc (typename std::allocator_traits< T >::template rebind_alloc< U > *)
 
template<typename Allocator , typename Iterator , typename... Args>
void ConstructRange (Allocator &alloc, Iterator first, Iterator last, const Args &... args)
 
template<typename Allocator , typename Iterator , typename InputIterator >
void CopyRange (Allocator &alloc, Iterator destination, InputIterator first, InputIterator last)
 

类型定义说明

◆ ExtractOrT

template<template< typename > class Extract, typename Obj , typename Default >
using phmap::memory_internal::ExtractOrT = typedef typename ExtractOr<Extract, Obj, Default, void>::type

◆ GetConstPointer

template<typename T >
using phmap::memory_internal::GetConstPointer = typedef typename T::const_pointer

◆ GetConstVoidPointer

template<typename T >
using phmap::memory_internal::GetConstVoidPointer = typedef typename T::const_void_pointer

◆ GetDifferenceType

template<typename T >
using phmap::memory_internal::GetDifferenceType = typedef typename T::difference_type

◆ GetIsAlwaysEqual

template<typename T >
using phmap::memory_internal::GetIsAlwaysEqual = typedef typename T::is_always_equal

◆ GetIsNothrow

template<typename Alloc >
using phmap::memory_internal::GetIsNothrow = typedef typename Alloc::is_nothrow

◆ GetPointer

template<typename T >
using phmap::memory_internal::GetPointer = typedef typename T::pointer

◆ GetPropagateOnContainerCopyAssignment

template<typename T >
using phmap::memory_internal::GetPropagateOnContainerCopyAssignment = typedef typename T::propagate_on_container_copy_assignment

◆ GetPropagateOnContainerMoveAssignment

template<typename T >
using phmap::memory_internal::GetPropagateOnContainerMoveAssignment = typedef typename T::propagate_on_container_move_assignment

◆ GetPropagateOnContainerSwap

template<typename T >
using phmap::memory_internal::GetPropagateOnContainerSwap = typedef typename T::propagate_on_container_swap

◆ GetSizeType

template<typename T >
using phmap::memory_internal::GetSizeType = typedef typename T::size_type

◆ GetVoidPointer

template<typename T >
using phmap::memory_internal::GetVoidPointer = typedef typename T::void_pointer

函数说明

◆ ConstructRange()

template<typename Allocator , typename Iterator , typename... Args>
void phmap::memory_internal::ConstructRange ( Allocator alloc,
Iterator  first,
Iterator  last,
const Args &...  args 
)

◆ CopyRange()

template<typename Allocator , typename Iterator , typename InputIterator >
void phmap::memory_internal::CopyRange ( Allocator alloc,
Iterator  destination,
InputIterator  first,
InputIterator  last 
)

◆ HasRebindAlloc() [1/2]

template<typename T , typename U >
constexpr bool phmap::memory_internal::HasRebindAlloc (   ...)
constexpr

◆ HasRebindAlloc() [2/2]

template<typename T , typename U >
constexpr bool phmap::memory_internal::HasRebindAlloc ( typename std::allocator_traits< T >::template rebind_alloc< U > *  )
constexpr