Implements thread-local storage using boost::thread_specific_ptr
.
More...
Public Member Functions | |
thread_local_storage (thread_local_storage const &)=delete | |
thread_local_storage & | operator= (thread_local_storage const &)=delete |
T & | get (void) |
Implements thread-local storage using boost::thread_specific_ptr
.
thread_local
, but is required for compilers and platforms that do not support the latter.