rippled
Public Member Functions | Private Attributes | List of all members
ripple::LocalValue< T > Class Template Reference
Collaboration diagram for ripple::LocalValue< T >:
Collaboration graph
[legend]

Public Member Functions

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

Private Attributes

t_
 

Detailed Description

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

Definition at line 84 of file LocalValue.h.

Constructor & Destructor Documentation

◆ LocalValue()

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

Definition at line 88 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 109 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 98 of file LocalValue.h.

Member Data Documentation

◆ t_

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

Definition at line 104 of file LocalValue.h.