From: Anthony Williams (anthony_w.geo_at_[hidden])
Date: 2008-01-07 06:58:25
Edd Dawson <lists <at> mr-edd.co.uk> writes:
> Currently one cannot create a thread_specific_ptr<void> as the return type of
> thread_specific_ptr<void>::operator* would be void&.
> So is there any technical reason that we cannot do the same trick as with
> shared_ptr? i.e. have operator* return a
It might be worth adding a specialization of thread_specific_ptr to handle void
data, but I don't think that traits would be the way to do it, as it adds lots
of complexity for not much gain.
However, this still begs the question: why?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk