Hi Poitr, Why do you use a typedef in this context? Which not just define a operator T* const()?
Also the valid() check is redundant. Robert. On Fri, Nov 7, 2008 at 9:35 PM, Piotr Rak <[EMAIL PROTECTED]> wrote: > Hi, > > Attached contains small, yet useful addition: > bool conversion for ref_ptr, when no implicit conversion to T* is used. > Was surprised, it wasn't there already! > > Cheers, > Piotr > > _______________________________________________ > osg-submissions mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > > _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
