[C++-sig] Reference counted object return value policy

Hans Meine meine at informatik.uni-hamburg.de
Wed Sep 24 11:07:15 CEST 2008


Am Dienstag, 23. September 2008 05:21:40 schrieb Jean-Sébastien Guay:
> Now, you may or may not know that OSG uses its own reference counting
> mechanism. All ref counted objects inherit from an osg::Referenced base
> class which has the reference count, and a smart pointer template class
> ref_ptr<T> manages these counts.

Do you know that people have more or less successfully used custom smart 
pointers with BP?  IIRC Roman has a nice web page about that.. Seems to be 
here:
http://www.language-binding.net/pyplusplus/troubleshooting_guide/smart_ptrs/smart_ptrs.html

-- 
Ciao, /  /
     /--/
    /  / ANS



More information about the Cplusplus-sig mailing list