proxygen
folly::detail::concurrenthashmap::HazptrBucketDeleter< Allocator > Class Template Reference

#include <ConcurrentHashMap-detail.h>

Public Member Functions

 HazptrBucketDeleter (size_t count)
 
 HazptrBucketDeleter ()=default
 
template<typename Bucket >
void operator() (Bucket *bucket)
 

Private Attributes

size_t count_
 

Detailed Description

template<typename Allocator>
class folly::detail::concurrenthashmap::HazptrBucketDeleter< Allocator >

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

Constructor & Destructor Documentation

template<typename Allocator >
folly::detail::concurrenthashmap::HazptrBucketDeleter< Allocator >::HazptrBucketDeleter ( size_t  count)
inline
template<typename Allocator >
folly::detail::concurrenthashmap::HazptrBucketDeleter< Allocator >::HazptrBucketDeleter ( )
default

Member Function Documentation

template<typename Allocator >
template<typename Bucket >
void folly::detail::concurrenthashmap::HazptrBucketDeleter< Allocator >::operator() ( Bucket bucket)
inline

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

47  {
48  bucket->destroy(count_);
49  }

Member Data Documentation

template<typename Allocator >
size_t folly::detail::concurrenthashmap::HazptrBucketDeleter< Allocator >::count_
private

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


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