hpx/thread_support/thread_specific_ptr.hpp

See Public API for a list of names and headers that are part of the public HPX API.

Defines

HPX_CORE_EXPORT_THREAD_SPECIFIC_PTR
namespace hpx
namespace util
template<typename T, typename Tag>
struct thread_specific_ptr

Public Types

typedef T element_type

Public Functions

T *get() const
T *operator->() const
T &operator*() const
void reset(T *new_value = nullptr)

Private Static Attributes

thread_local T *ptr_ = nullptr