|
Boost : |
From: Greg Colvin (gcolvin_at_[hidden])
Date: 2000-01-31 10:28:56
From: Gavin Collings <gcollings_at_[hidden]>
> Greg,
>
> Aside from a load of member template stuff, I had to make the following
Yep. Not all compilers are up to EDG's level of compliance, sadly,
but at this point someone has to pay me to deal with non-standard C++.
> 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 );
Yes recycler::free(recycler*) is the function I intended to call, and that
I think should have been selected, but perhaps "free" is reserved.
> ph = new_handle(p,&r), ph->n = 1;
> }
> }
>
>
> ------------------------------------------------------------------------
> Want to send money instantly to anyone, anywhere, anytime?
> You can today at X.com - and we'll give you $20 to try it! Sign
> up today at X.com. It's quick, free, & there's no obligation!
> http://click.egroups.com/1/332/1/_/9351/_/949326326/
>
> -- Easily schedule meetings and events using the group calendar!
> -- http://www.egroups.com/cal?listname=boost&m=1
>
>
>
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk