rippled
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
ripple::LocalValue< T > Class Template Reference

#include <LocalValue.h>

Public Member Functions

template<class... Args>
 LocalValue (Args &&... args)
 
T & operator* ()
 Stores instance of T specific to the calling coroutine or thread.
 
T * operator-> ()
 Stores instance of T specific to the calling coroutine or thread.
 

Private Attributes

t_
 

Detailed Description

template<class T>
class ripple::LocalValue< T >

Definition at line 85 of file LocalValue.h.

Constructor & Destructor Documentation

◆ LocalValue()

template<class T >
template<class... Args>
ripple::LocalValue< T >::LocalValue ( Args &&...  args)

Definition at line 89 of file LocalValue.h.

Member Function Documentation

◆ operator*()

template<class T >
T & ripple::LocalValue< T >::operator* ( )

Stores instance of T specific to the calling coroutine or thread.

Definition at line 110 of file LocalValue.h.

◆ operator->()

template<class T >
T * ripple::LocalValue< T >::operator-> ( )

Stores instance of T specific to the calling coroutine or thread.

Definition at line 99 of file LocalValue.h.

Member Data Documentation

◆ t_

template<class T >
T ripple::LocalValue< T >::t_
private

Definition at line 105 of file LocalValue.h.