On Fri, Nov 21, 2008 at 2:00 PM, Simon Hammett
<[EMAIL PROTECTED]> wrote:
> I thought of that, but I'm sure Robert has said templates are a no goer for 
> osg.

It *all* depends upon the context.  The OSG uses templates everywhere
already, many written by me, so templates certainly a non goer for the
OSG.

Templates aren't free in terms of code maintenance, build and
portability.  One should use them where really are justified, but
you'll always find me being cautious around templates to make sure
they are justified because they can be one of the most problematic
elements in porting and maintaining C++ across platforms.

If Neil can come up with a scheme that ports well, is easy to maintain
and provides a good solution for making the NodeVisitor more reusable
then this may well be a good case for templates.   Without seeing any
code I can't make any judgement call though.

Robert.
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to