j
k
j a
j l
Stefan Slapeta wrote: [simplified code]
typedef boost::thread_specific_ptr<ptr_t> tld_t; tld_t tld_helper = static_<tld_t, X>::get(); if (!tld_helper.get()) tld_helper.reset(new ptr_t); ptr_t &helper = *tld_helper;
typedef boost::thread_specific_ptr<ptr_t> tld_t;
tld_t tld_helper = static_<tld_t, X>::get();
if (!tld_helper.get()) tld_helper.reset(new ptr_t); ptr_t &helper = *tld_helper;
;)
Back to the thread
Back to the list