userver: rcu::DefaultRcuMapTraits< Key > Struct Template Reference
Loading...
Searching...
No Matches
rcu::DefaultRcuMapTraits< Key > Struct Template Reference

#include <userver/rcu/rcu_map.hpp>

Detailed Description

template<typename Key>
struct rcu::DefaultRcuMapTraits< Key >

Default RcuMap traits. Member types:

  • Hash is a functor type that returns hash value for Key
  • keyEqual is a functor type that provide equality test for two values of type Key
  • MutexType is a writer's mutex type that has to be used to protect structure on update

Definition at line 46 of file rcu_map.hpp.

+ Inheritance diagram for rcu::DefaultRcuMapTraits< Key >:

Public Types

using Hash = std::hash<Key>
 
using KeyEqual = std::equal_to<Key>
 
using MutexType = engine::Mutex
 
using DeleterType = AsyncDeleter
 

Member Typedef Documentation

◆ DeleterType

template<typename Key >
using rcu::DefaultRcuMapTraits< Key >::DeleterType = AsyncDeleter

Definition at line 50 of file rcu_map.hpp.

◆ Hash

template<typename Key >
using rcu::DefaultRcuMapTraits< Key >::Hash = std::hash<Key>

Definition at line 47 of file rcu_map.hpp.

◆ KeyEqual

template<typename Key >
using rcu::DefaultRcuMapTraits< Key >::KeyEqual = std::equal_to<Key>

Definition at line 48 of file rcu_map.hpp.

◆ MutexType

template<typename Key >
using rcu::DefaultRcuMapTraits< Key >::MutexType = engine::Mutex

Definition at line 49 of file rcu_map.hpp.


The documentation for this struct was generated from the following files: