#include <userver/utils/shared_readable_ptr.hpp>
std::shared_ptr<const T>
wrapper that makes sure that the pointer is stored before dereferencing. Protects from dangling references:
Definition at line 22 of file shared_readable_ptr.hpp.
Public Types | |
using | Base = std::shared_ptr<const T> |
using | MutableBase = std::shared_ptr<T> |
using | Weak = typename Base::weak_type |
using | Unique = std::unique_ptr<const T> |
using | element_type = T |
using utils::SharedReadablePtr< T >::Base = std::shared_ptr<const T> |
Definition at line 29 of file shared_readable_ptr.hpp.
using utils::SharedReadablePtr< T >::element_type = T |
Definition at line 33 of file shared_readable_ptr.hpp.
using utils::SharedReadablePtr< T >::MutableBase = std::shared_ptr<T> |
Definition at line 30 of file shared_readable_ptr.hpp.
using utils::SharedReadablePtr< T >::Unique = std::unique_ptr<const T> |
Definition at line 32 of file shared_readable_ptr.hpp.
using utils::SharedReadablePtr< T >::Weak = typename Base::weak_type |
Definition at line 31 of file shared_readable_ptr.hpp.
|
inlineconstexprnoexcept |
Definition at line 38 of file shared_readable_ptr.hpp.
|
inlinenoexcept |
Definition at line 43 of file shared_readable_ptr.hpp.
|
inlinenoexcept |
Definition at line 45 of file shared_readable_ptr.hpp.
|
inlinenoexcept |
Definition at line 47 of file shared_readable_ptr.hpp.
|
inlinenoexcept |
Definition at line 49 of file shared_readable_ptr.hpp.
|
inlinenoexcept |
Definition at line 51 of file shared_readable_ptr.hpp.
|
inlinenoexcept |
Definition at line 78 of file shared_readable_ptr.hpp.
|
inlineexplicitnoexcept |
Definition at line 96 of file shared_readable_ptr.hpp.
|
inline |
Definition at line 90 of file shared_readable_ptr.hpp.
|
inlinenoexcept |
Definition at line 88 of file shared_readable_ptr.hpp.
|
inline |
Definition at line 94 of file shared_readable_ptr.hpp.
|
inlinenoexcept |
Definition at line 92 of file shared_readable_ptr.hpp.
|
inline |
Definition at line 102 of file shared_readable_ptr.hpp.
|
inline |
Definition at line 82 of file shared_readable_ptr.hpp.
|
inlinenoexcept |
Definition at line 80 of file shared_readable_ptr.hpp.
|
inline |
Definition at line 86 of file shared_readable_ptr.hpp.
|
inlinenoexcept |
Definition at line 84 of file shared_readable_ptr.hpp.
|
inlinenoexcept |
Definition at line 58 of file shared_readable_ptr.hpp.
|
inlinenoexcept |
Definition at line 53 of file shared_readable_ptr.hpp.
|
inlinenoexcept |
Definition at line 63 of file shared_readable_ptr.hpp.
|
inlinenoexcept |
Definition at line 68 of file shared_readable_ptr.hpp.
|
inlinenoexcept |
Definition at line 73 of file shared_readable_ptr.hpp.
|
inline |
Definition at line 98 of file shared_readable_ptr.hpp.
|
inlinenoexcept |
Definition at line 106 of file shared_readable_ptr.hpp.