[osg-users] Smart Pointer for Memory Management

Chris Hanson xenon at alphapixel.com
Thu Mar 31 18:37:15 PDT 2016


I ended up making the OSG-using core of my OSG/C# application in C++, with
a thin C wrapper around the functionality that needed to be accessed from
the actual application-space. That C library was then easy to invoke from
the C# UI and application without nasty ownership and management issues
relating to C#/.Net and unmanaged C++, OSG and OSG's pointer classes.

Managed code has its place. And there are places where it's not a good idea
at all.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160331/18632e9b/attachment-0003.htm>


More information about the osg-users mailing list