|
Boost : |
From: Achilleas Margaritis (axilmar_at_[hidden])
Date: 2007-09-18 01:56:57
Larry Evans wrote:
> On 09/17/07 13:29, Achilleas Margaritis wrote:
>> O/H Larry Evans ÎγÏαÏε:
> [snip]
>>> Could you provide one in some test code which demonstrates that
>>> the garbage is actually collected and which handles cycles.
>>> For example, a gc_ptr<std::vector<T> > where T contains a
>>> gc_ptr<std::vector<T> > which points to the containing vector.
>> I updated the code in the vault with the example you requested.
>>
>
> Could you be more specific about where the test code is? I tried
> finding it without success:
>
> cd ~/prog_dev/boost-svn/ro/trunk/sandbox/axilmar/
> find . -name \*.[ch]pp -exec grep vector {} \; -ls
> #include <vector>
> typedef std::vector<T *> _vector;
> _vector _entries;
> 6488878 12 -rw-r--r-- 1 evansl evansl 12135 Sep 17 2007
> ./include/cppgc.hpp
>
> Compilation finished at Mon Sep 17 14:01:32
I have not yet made the GC STL allocator. The example I put was about
cycles.
>
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk