[vtk-developers] Shared ownership of an array of pointers

Philippe Pébay philippe.pebay at kitware.com
Tue Nov 20 11:14:44 EST 2012


Hello Kyle

Yes, I would want to avoid a dependency on Boost. But this is basically
what I am tried to reproduce (the Boost shared array of pointers).

Thanks
P

On Tue, Nov 20, 2012 at 5:13 PM, Kyle Lutz <kyle.lutz at kitware.com> wrote:

> Would using boost suffice? Or do you want a solution using just VTK?
>
> -kyle
>
> On Tue, Nov 20, 2012 at 7:58 AM, Philippe Pébay
> <philippe.pebay at kitware.com> wrote:
> > Hello all,
> >
> > I need to keep track of shared ownership of an array of pointers. Can
> > someone point me towards an example of code that already does this? This
> > should amount to a small helper class that contains the array of pointers
> > along with a reference count.
> >
> > Thank you!
> > Philippe
> >
> >
> > --
> > Philippe Pébay, PhD
> > Director of Visualization and High Performance Computing /
> > Directeur de la Visualisation et du Calcul Haute Performance
> > Kitware SAS
> > 26 rue Louis Guérin, 69100 Villeurbanne, France
> > +33 (0) 6.83.61.55.70 / 4.37.45.04.15
> > http://www.kitware.fr
> >
> > _______________________________________________
> > Powered by www.kitware.com
> >
> > Visit other Kitware open-source projects at
> > http://www.kitware.com/opensource/opensource.html
> >
> > Follow this link to subscribe/unsubscribe:
> > http://www.vtk.org/mailman/listinfo/vtk-developers
> >
> >
>



-- 
Philippe Pébay, PhD
Director of Visualization and High Performance Computing /
Directeur de la Visualisation et du Calcul Haute Performance
Kitware SAS
26 rue Louis Guérin, 69100 Villeurbanne, France
+33 (0) 6.83.61.55.70 / 4.37.45.04.15
http://www.kitware.fr <http://www.kitware.fr/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20121120/cff2c8db/attachment.html>


More information about the vtk-developers mailing list