$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Gavin Collings (gcollings_at_[hidden])
Date: 2000-01-31 08:45:13
Greg,
Aside from a load of member template stuff, I had to make the following
code change to cyclic_ptr.hpp to get the test to run. Could you check
it and advise / correct if it's wrong.
Gavin
template<typename T> struct cyclic_ptr : recyclable_base<T> {
...
void reset(T* p=0,deleter<T>& r=default_deleter()) {
if (--ph->n == 0)
free(ph);
------------^^^^^^^^^
changed to recycler::free( ph );
ph = new_handle(p,&r), ph->n = 1;
}
}