id summary reporter owner description type status milestone component version severity resolution keywords cc 66 thread specific pointer behavior change nobody Roland Schwarz "{{{ The thread specific pointer class seems to imply that only heap allocated pointers are eligible for use in the thread specific pointer (i.e. both reset and cleanup use delete object). Is it possible to make the cleanup action declarable in the template such that we have someting along the likes of: template class ... { reset(T *new) { ... cleanup(cur);.... } cleanup(void *cur) { Cleanup c; c(cur); } } or some such. This would allow the use of say reference counted or even stack objects to be used in thread local pointers. }}}" Feature Requests closed None None Wont Fix