Boost logo

Boost :

From: Achilleas Margaritis (axilmar_at_[hidden])
Date: 2007-09-21 16:27:03


> I'm not saying modify _list in the collector, I'm only saying you could
> modify it to use:
>
> Allocator<T>::pointer _list<T>::_begin;
>
> instead of:
>
> T* _list<T>::_begin;
>
> where, in the case of _list used in your collector, it would default
> to what it is now, but for the _list used in GCBench (as defined
> in main_stl.cpp) it would be Allocator::<T>::pointer which
> would be:
>
> gc_ptr<T>
>
> So you'd be reusing the _list code as part of the collector
> implementation; yet, also to demonstrate how std::list could
> be modified so that it would work with your collector.

Sorry, I haven't seen main_stl.cpp. Can I get it from somewhere?


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk