BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet software
Public Member Functions | Static Public Member Functions | List of all members
fc::thread_specific_ptr< T > Class Template Reference

#include <thread_specific.hpp>

Public Member Functions

 thread_specific_ptr ()
 
T * get () const
 
T * operator-> () const
 
T & operator* () const
 
 operator bool () const
 
void reset (T *new_value=0)
 

Static Public Member Functions

static void cleanup_function (void *obj)
 

Detailed Description

template<typename T>
class fc::thread_specific_ptr< T >

Definition at line 13 of file thread_specific.hpp.

Constructor & Destructor Documentation

◆ thread_specific_ptr()

template<typename T >
fc::thread_specific_ptr< T >::thread_specific_ptr ( )
inline

Definition at line 18 of file thread_specific.hpp.

Member Function Documentation

◆ cleanup_function()

template<typename T >
static void fc::thread_specific_ptr< T >::cleanup_function ( void *  obj)
inlinestatic

Definition at line 38 of file thread_specific.hpp.

◆ get()

template<typename T >
T* fc::thread_specific_ptr< T >::get ( ) const
inline

Definition at line 22 of file thread_specific.hpp.

◆ operator bool()

template<typename T >
fc::thread_specific_ptr< T >::operator bool ( ) const
inline

Definition at line 34 of file thread_specific.hpp.

◆ operator*()

template<typename T >
T& fc::thread_specific_ptr< T >::operator* ( ) const
inline

Definition at line 30 of file thread_specific.hpp.

◆ operator->()

template<typename T >
T* fc::thread_specific_ptr< T >::operator-> ( ) const
inline

Definition at line 26 of file thread_specific.hpp.

◆ reset()

template<typename T >
void fc::thread_specific_ptr< T >::reset ( T *  new_value = 0)
inline

Definition at line 42 of file thread_specific.hpp.


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