proxygen
folly::detail::concurrenthashmap::ValueHolder< KeyType, ValueType, Allocator, std::enable_if_t< !std::is_nothrow_copy_constructible< ValueType >::value||!std::is_nothrow_copy_constructible< KeyType >::value > > 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)
 
 ~ValueHolder ()
 
value_typegetItem ()
 

Private Attributes

value_typeitem_
 
bool owned_ {true}
 

Detailed Description

template<typename KeyType, typename ValueType, typename Allocator>
class folly::detail::concurrenthashmap::ValueHolder< KeyType, ValueType, Allocator, std::enable_if_t< !std::is_nothrow_copy_constructible< ValueType >::value||!std::is_nothrow_copy_constructible< KeyType >::value > >

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

Member Typedef Documentation

template<typename KeyType , typename ValueType , typename Allocator >
typedef std::pair<const KeyType, ValueType> folly::detail::concurrenthashmap::ValueHolder< KeyType, ValueType, Allocator, std::enable_if_t< !std::is_nothrow_copy_constructible< ValueType >::value||!std::is_nothrow_copy_constructible< KeyType >::value > >::value_type

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

Constructor & Destructor Documentation

template<typename KeyType , typename ValueType , typename Allocator >
folly::detail::concurrenthashmap::ValueHolder< KeyType, ValueType, Allocator, std::enable_if_t< !std::is_nothrow_copy_constructible< ValueType >::value||!std::is_nothrow_copy_constructible< KeyType >::value > >::ValueHolder ( const ValueHolder< KeyType, ValueType, Allocator, std::enable_if_t< !std::is_nothrow_copy_constructible< ValueType >::value||!std::is_nothrow_copy_constructible< KeyType >::value > > &  other)
inlineexplicit
template<typename KeyType , typename ValueType , typename Allocator >
template<typename Arg , typename... Args>
folly::detail::concurrenthashmap::ValueHolder< KeyType, ValueType, Allocator, std::enable_if_t< !std::is_nothrow_copy_constructible< ValueType >::value||!std::is_nothrow_copy_constructible< KeyType >::value > >::ValueHolder ( std::piecewise_construct_t  ,
Arg &&  k,
Args &&...  args 
)
inline

Member Function Documentation

template<typename KeyType , typename ValueType , typename Allocator >
value_type& folly::detail::concurrenthashmap::ValueHolder< KeyType, ValueType, Allocator, std::enable_if_t< !std::is_nothrow_copy_constructible< ValueType >::value||!std::is_nothrow_copy_constructible< KeyType >::value > >::getItem ( )
inline

Member Data Documentation

template<typename KeyType , typename ValueType , typename Allocator >
value_type* folly::detail::concurrenthashmap::ValueHolder< KeyType, ValueType, Allocator, std::enable_if_t< !std::is_nothrow_copy_constructible< ValueType >::value||!std::is_nothrow_copy_constructible< KeyType >::value > >::item_
private

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

template<typename KeyType , typename ValueType , typename Allocator >
bool folly::detail::concurrenthashmap::ValueHolder< KeyType, ValueType, Allocator, std::enable_if_t< !std::is_nothrow_copy_constructible< ValueType >::value||!std::is_nothrow_copy_constructible< KeyType >::value > >::owned_ {true}
mutableprivate

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


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