|
Boost : |
From: Richard Smith (richard_at_[hidden])
Date: 2002-04-22 07:32:04
If I try to instantiate thread_specific_ptr with a pointer to a const
type, I get an error with the release function because it is trying to
convert a const T * to void * without a const_cast when calling
m_tss.set(). If thread_specific_ptr is supposed to work with pointers to
const types, it should probably be changed to do a const_cast.
-- Richard Smith
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk