Boost logo

Boost :

From: Felipe Magno de Almeida (felipe.m.almeida_at_[hidden])
Date: 2006-04-07 09:07:20

On 4/7/06, Roland Schwarz <roland.schwarz_at_[hidden]> wrote:


> To get platform independent behavior the ptr has to be declared globally.

The problem is that it isnt possible when a ptr must be used in a free
template function and the pointer is parameterized on the template
function parameters. That was the spirit case. There isnt any solution
from the boost.thread for this. Which, IMO, it leads to believe that
thread_specific_ptr is the solution. After all, it is the only public
solution for tss in boost.thread.

> Roland

best regards,

Felipe Magno de Almeida

Boost list run by bdawes at, gregod at, cpdaniel at, john at