NIM 跨平台 C++ SDK
载入中...
搜索中...
未找到
phmap::priv::node_handle< Policy, PolicyTraits, Alloc, typename > 模板类 参考

#include <phmap_base.h>

类 phmap::priv::node_handle< Policy, PolicyTraits, Alloc, typename > 继承关系图:
phmap::priv::node_handle_base< PolicyTraits, Alloc >

Public 类型

using value_type = typename PolicyTraits::value_type
 
- Public 类型 继承自 phmap::priv::node_handle_base< PolicyTraits, Alloc >
using allocator_type = Alloc
 

Public 成员函数

constexpr node_handle ()
 
value_typevalue () const
 
value_typekey () const
 
- Public 成员函数 继承自 phmap::priv::node_handle_base< PolicyTraits, Alloc >
constexpr node_handle_base ()
 
 node_handle_base (node_handle_base &&other) noexcept
 
 ~node_handle_base ()
 
node_handle_baseoperator= (node_handle_base &&other) noexcept
 
bool empty () const noexcept
 
 operator bool () const noexcept
 
allocator_type get_allocator () const
 

Private 类型

using Base = node_handle_base< PolicyTraits, Alloc >
 

友元

struct CommonAccess
 

额外继承的成员函数

- Protected 类型 继承自 phmap::priv::node_handle_base< PolicyTraits, Alloc >
using slot_type = typename PolicyTraits::slot_type
 
- Protected 成员函数 继承自 phmap::priv::node_handle_base< PolicyTraits, Alloc >
 node_handle_base (transfer_tag_t, const allocator_type &a, slot_type *s)
 
 node_handle_base (move_tag_t, const allocator_type &a, slot_type *s)
 
 node_handle_base (const allocator_type &a, slot_type *s)
 
void destroy ()
 
void reset ()
 
slot_typeslot () const
 
allocator_typealloc ()
 

成员类型定义说明

◆ Base

template<typename Policy , typename PolicyTraits , typename Alloc , typename = void>
using phmap::priv::node_handle< Policy, PolicyTraits, Alloc, typename >::Base = node_handle_base<PolicyTraits, Alloc>
private

◆ value_type

template<typename Policy , typename PolicyTraits , typename Alloc , typename = void>
using phmap::priv::node_handle< Policy, PolicyTraits, Alloc, typename >::value_type = typename PolicyTraits::value_type

构造及析构函数说明

◆ node_handle()

template<typename Policy , typename PolicyTraits , typename Alloc , typename = void>
constexpr phmap::priv::node_handle< Policy, PolicyTraits, Alloc, typename >::node_handle ( )
inlineconstexpr

成员函数说明

◆ key()

template<typename Policy , typename PolicyTraits , typename Alloc , typename = void>
value_type & phmap::priv::node_handle< Policy, PolicyTraits, Alloc, typename >::key ( ) const
inline

◆ value()

template<typename Policy , typename PolicyTraits , typename Alloc , typename = void>
value_type & phmap::priv::node_handle< Policy, PolicyTraits, Alloc, typename >::value ( ) const
inline

友元及相关函数文档

◆ CommonAccess

template<typename Policy , typename PolicyTraits , typename Alloc , typename = void>
friend struct CommonAccess
friend

该类的文档由以下文件生成: