40 return *
static_cast<T*
>(getValue());
48 return static_cast<T*
>(getValue());
56 return static_cast<T*
>(getValue());
73 setValue(right.getValue());
Defines variables with thread-local storage.
Pointer to a thread-local variable.
ThreadLocalPtr< T > & operator=(T *value)
Assignment operator for a raw pointer parameter.
T * operator->() const
Overload of operator ->
ThreadLocalPtr(T *value=NULL)
Default constructor.
T & operator*() const
Overload of unary operator *.