Robert Osfield wrote:
On Fri, Nov 7, 2008 at 4:01 PM, Tim Moore <[EMAIL PROTECTED]> wrote:
Whoops, that was an error. I thought the consensus was that member templates
were generally OK, though there can be STL-related issues?

You can get away with member templates in some cases, but I'm not
confident that member templates on template classes will build across
platforms.

Unless I'm confused about your concern, such things are already being used in OSG, for example MixinVector::insert().
Another thing it might be worth checking on build is the effect on lib
size of using templates.  The OSG is being ported to embedded
platforms so size is something we need to wary of.

I haven't done a size comparison and will, however I moved relatively few methods out of .cpp files into headers.
Tim

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

Reply via email to