#include <rcu.h>
Definition at line 85 of file rcu.h.
◆ RCUPtr() [1/5]
Definition at line 89 of file rcu.h.
◆ RCUPtr() [2/5]
Definition at line 92 of file rcu.h.
◆ ~RCUPtr()
Definition at line 94 of file rcu.h.
◆ RCUPtr() [3/5]
Copy semantic.
Definition at line 130 of file rcu.h.
◆ RCUPtr() [4/5]
Implicit converting constructor from RCUPtr to RCUPtr<T>, where U * is implicitely convertible to T *.
Definition at line 146 of file rcu.h.
◆ RCUPtr() [5/5]
Move semantic.
Definition at line 161 of file rcu.h.
◆ acquire()
Acquire ownership of some pointer.
Definition at line 103 of file rcu.h.
◆ copy()
Construct a new RCUPtr without transferring owership.
Definition at line 119 of file rcu.h.
◆ get() [1/2]
Get allows to access the undelying pointer.
RCUPtr keeps ownership.
Definition at line 170 of file rcu.h.
◆ get() [2/2]
const T * RCUPtr< T >::get |
( |
| ) |
const |
|
inline |
◆ make()
template<typename... Args>
Construct a new object that is owned by the pointer.
Definition at line 112 of file rcu.h.
◆ operator bool()
◆ operator*() [1/2]
◆ operator*() [2/2]
◆ operator->() [1/2]
Operator overloading for convenience.
Definition at line 185 of file rcu.h.
◆ operator->() [2/2]
◆ operator=() [1/3]
◆ operator=() [2/3]
◆ operator=() [3/3]
◆ release()
Release transfers ownership of the pointer from RCUPtr to the caller.
Definition at line 176 of file rcu.h.
◆ operator!= [1/2]
◆ operator!= [2/2]
◆ operator<<
std::ostream & operator<< |
( |
std::ostream & |
stream, |
|
|
const RCUPtr< T > & |
rhs |
|
) |
| |
|
friend |
ostream support.
Definition at line 215 of file rcu.h.
◆ operator== [1/2]
◆ operator== [2/2]
Equality checks.
Definition at line 196 of file rcu.h.
◆ ptr
Definition at line 86 of file rcu.h.
The documentation for this class was generated from the following file: