userver: dynamic_config::VariableSnapshotPtr< VariableType > Class Template Reference
Loading...
Searching...
No Matches
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 21 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 27 of file source.hpp.

◆ operator*() [2/2]

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

Definition at line 26 of file source.hpp.

◆ operator->() [1/2]

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

Definition at line 30 of file source.hpp.

◆ operator->() [2/2]

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

Definition at line 29 of file source.hpp.

Friends And Related Symbol Documentation

◆ Source

template<typename VariableType >
friend class Source
friend

Definition at line 41 of file source.hpp.


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