> The example in the middle of page 37, above the one Cliff 
> cited, looks like it won't compile.  Did you really mean to 
> return *grp?  I know it's meant to show bad programming 
> practice but the book reads like it should compile.

You are correct, that code is wrong. I meant to return grp.get() as an
example of returning a dangling pointer.

I've added this to the errata at http://www.skew-matrix.com/osgqsg/. Thanks
for catching this.

Paul Martz
Skew Matrix Software LLC
http://www.skew-matrix.com
+1 303 859 9466

_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to