$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Larry Evans (cppljevans_at_[hidden])
Date: 2007-09-17 15:03:36
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