userver: dynamic_config::VariableSnapshotPtr< VariableType > Class Template Reference
⚠️ This is the documentation for an old userver version. Click here to switch to the latest version.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
dynamic_config::VariableSnapshotPtr< VariableType > Class Template Referencefinal

#include <userver/dynamic_config/source.hpp>

Detailed Description

template<typename VariableType>
class dynamic_config::VariableSnapshotPtr< VariableType >

Owns a snapshot of a config variable. You may use operator* or operator-> to access the config variable.

Definition at line 22 of file source.hpp.

Public Member Functions

 VariableSnapshotPtr (VariableSnapshotPtr &&)=delete
 
VariableSnapshotPtroperator= (VariableSnapshotPtr &&)=delete
 
const VariableType & operator* () const &
 
const VariableType & operator* () &&
 
const VariableType * operator-> () const &
 
const VariableType * operator-> () &&
 

Member Function Documentation

◆ operator*() [1/2]

template<typename VariableType >
const VariableType & dynamic_config::VariableSnapshotPtr< VariableType >::operator* ( ) &&
inline

Definition at line 28 of file source.hpp.

◆ operator*() [2/2]

template<typename VariableType >
const VariableType & dynamic_config::VariableSnapshotPtr< VariableType >::operator* ( ) const &
inline

Definition at line 27 of file source.hpp.

◆ operator->() [1/2]

template<typename VariableType >
const VariableType * dynamic_config::VariableSnapshotPtr< VariableType >::operator-> ( ) &&
inline

Definition at line 31 of file source.hpp.

◆ operator->() [2/2]

template<typename VariableType >
const VariableType * dynamic_config::VariableSnapshotPtr< VariableType >::operator-> ( ) const &
inline

Definition at line 30 of file source.hpp.

Friends And Related Symbol Documentation

◆ Source

template<typename VariableType >
friend class Source
friend

Definition at line 44 of file source.hpp.


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