NIM 跨平台 C++ SDK
载入中...
搜索中...
未找到
phmap::priv::set_params< Key, Compare, Alloc, TargetNodeSize, Multi > 模板结构体 参考

#include <btree.h>

类 phmap::priv::set_params< Key, Compare, Alloc, TargetNodeSize, Multi > 继承关系图:
phmap::priv::common_params< Key, Compare, Alloc, TargetNodeSize, Multi, set_slot_policy< Key > >

Public 类型

using value_type = Key
 
using slot_type = typename set_params::common_params::slot_type
 
using value_compare = typename set_params::common_params::key_compare
 
using is_map_container = std::false_type
 
- Public 类型 继承自 phmap::priv::common_params< Key, Compare, Alloc, TargetNodeSize, Multi, set_slot_policy< Key > >
enum  
 
using key_compare
 
using is_key_compare_to
 
using allocator_type
 
using key_type
 
using size_type
 
using difference_type
 
using is_multi_container
 
using slot_policy
 
using slot_type
 
using value_type
 
using init_type
 
using pointer
 
using const_pointer
 
using reference
 
using const_reference
 
using node_count_type
 

静态 Public 成员函数

static const Key & key (const value_type &x)
 
static const Key & key (const slot_type *x)
 
- 静态 Public 成员函数 继承自 phmap::priv::common_params< Key, Compare, Alloc, TargetNodeSize, Multi, set_slot_policy< Key > >
static value_typeelement (slot_type *slot)
 
static const value_typeelement (const slot_type *slot)
 
static void construct (Alloc *alloc, slot_type *slot, Args &&... args)
 
static void construct (Alloc *alloc, slot_type *slot, slot_type *other)
 
static void destroy (Alloc *alloc, slot_type *slot)
 
static void transfer (Alloc *alloc, slot_type *new_slot, slot_type *old_slot)
 
static void swap (Alloc *alloc, slot_type *a, slot_type *b)
 
static void move (Alloc *alloc, slot_type *src, slot_type *dest)
 
static void move (Alloc *alloc, slot_type *first, slot_type *last, slot_type *result)
 

成员类型定义说明

◆ is_map_container

template<typename Key , typename Compare , typename Alloc , int TargetNodeSize, bool Multi>
using phmap::priv::set_params< Key, Compare, Alloc, TargetNodeSize, Multi >::is_map_container = std::false_type

◆ slot_type

template<typename Key , typename Compare , typename Alloc , int TargetNodeSize, bool Multi>
using phmap::priv::set_params< Key, Compare, Alloc, TargetNodeSize, Multi >::slot_type = typename set_params::common_params::slot_type

◆ value_compare

template<typename Key , typename Compare , typename Alloc , int TargetNodeSize, bool Multi>
using phmap::priv::set_params< Key, Compare, Alloc, TargetNodeSize, Multi >::value_compare = typename set_params::common_params::key_compare

◆ value_type

template<typename Key , typename Compare , typename Alloc , int TargetNodeSize, bool Multi>
using phmap::priv::set_params< Key, Compare, Alloc, TargetNodeSize, Multi >::value_type = Key

成员函数说明

◆ key() [1/2]

template<typename Key , typename Compare , typename Alloc , int TargetNodeSize, bool Multi>
static const Key & phmap::priv::set_params< Key, Compare, Alloc, TargetNodeSize, Multi >::key ( const slot_type * x)
inlinestatic

◆ key() [2/2]

template<typename Key , typename Compare , typename Alloc , int TargetNodeSize, bool Multi>
static const Key & phmap::priv::set_params< Key, Compare, Alloc, TargetNodeSize, Multi >::key ( const value_type & x)
inlinestatic

该结构体的文档由以下文件生成: