userver: userver/rcu/fwd.hpp Source File
Loading...
Searching...
No Matches
fwd.hpp
Go to the documentation of this file.
1#pragma once
2
3/// @file userver/rcu/fwd.hpp
4/// @brief Forward declarations for rcu::Variable and rcu::RcuMap
5
6#include <functional>
7#include <unordered_map>
8
9USERVER_NAMESPACE_BEGIN
10
11namespace engine {
12
13class Mutex;
14
15} // namespace engine
16
17namespace rcu {
18
19template <typename T>
20struct DefaultRcuTraits;
21
22template <typename Key, typename Value>
23struct DefaultRcuMapTraits;
24
25template <typename T, typename RcuTraits = DefaultRcuTraits<T>>
26class Variable;
27
28template <typename T, typename RcuTraits = DefaultRcuTraits<T>>
29class ReadablePtr;
30
31template <typename T, typename RcuTraits = DefaultRcuTraits<T>>
32class WritablePtr;
33
34template <typename Key, typename Value,
35 typename RcuMapTraits = DefaultRcuMapTraits<Key, Value>>
36class RcuMap;
37
38} // namespace rcu
39
40USERVER_NAMESPACE_END