On Wed, Oct 8, 2008 at 12:00 PM, Mathias Fröhlich <[EMAIL PROTECTED]> wrote: > On Wednesday 08 October 2008 12:24, Robert Osfield wrote: >> I've done testing and it looks like copy + back inserter is just fine >> as the vector is always empty on entry into copy, so the my new code >> works fine :-) > Ok, covering just a special case with an empty input vector - if this > precaution holds (?) - this is better ...
If it doesn't we could use a front_inserter(), so we could still std::copy() so stick with the single line replacement of the original code. We need to Wojtek's to have a look over the changes to confirm that back_inserter is fine. Robert. _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
