proxygen
folly::detail::concurrenthashmap::ValueHolder< KeyType, ValueType, Allocator, Enabled > Class Template Reference

#include <ConcurrentHashMap-detail.h>

Public Types

typedef std::pair< const KeyType, ValueType > value_type
 

Public Member Functions

 ValueHolder (const ValueHolder &other)
 
template<typename Arg , typename... Args>
 ValueHolder (std::piecewise_construct_t, Arg &&k, Args &&...args)
 
value_typegetItem ()
 

Private Attributes

value_type item_
 

Detailed Description

template<typename KeyType, typename ValueType, typename Allocator, typename Enabled = void>
class folly::detail::concurrenthashmap::ValueHolder< KeyType, ValueType, Allocator, Enabled >

Definition at line 57 of file ConcurrentHashMap-detail.h.

Member Typedef Documentation

template<typename KeyType, typename ValueType, typename Allocator, typename Enabled = void>
typedef std::pair<const KeyType, ValueType> folly::detail::concurrenthashmap::ValueHolder< KeyType, ValueType, Allocator, Enabled >::value_type

Definition at line 59 of file ConcurrentHashMap-detail.h.

Constructor & Destructor Documentation

template<typename KeyType, typename ValueType, typename Allocator, typename Enabled = void>
folly::detail::concurrenthashmap::ValueHolder< KeyType, ValueType, Allocator, Enabled >::ValueHolder ( const ValueHolder< KeyType, ValueType, Allocator, Enabled > &  other)
inlineexplicit

Definition at line 61 of file ConcurrentHashMap-detail.h.

template<typename KeyType, typename ValueType, typename Allocator, typename Enabled = void>
template<typename Arg , typename... Args>
folly::detail::concurrenthashmap::ValueHolder< KeyType, ValueType, Allocator, Enabled >::ValueHolder ( std::piecewise_construct_t  ,
Arg &&  k,
Args &&...  args 
)
inline

Definition at line 64 of file ConcurrentHashMap-detail.h.

65  : item_(
66  std::piecewise_construct,
67  std::forward_as_tuple(std::forward<Arg>(k)),
68  std::forward_as_tuple(std::forward<Args>(args)...)) {}
KeyT k

Member Function Documentation

template<typename KeyType, typename ValueType, typename Allocator, typename Enabled = void>
value_type& folly::detail::concurrenthashmap::ValueHolder< KeyType, ValueType, Allocator, Enabled >::getItem ( )
inline

Definition at line 69 of file ConcurrentHashMap-detail.h.

Member Data Documentation


The documentation for this class was generated from the following file: