Upon reflection, I think I'm totally comfortable for the no-variadic-template problem to be solved by just explicitly defining the templates for the 1-arg, 2-arg, ..., n-arg cases? I bet n == 10, as you have it, is plenty for any use within OIIO. If we ever go over that, it would only be slightly, and easy to amend by hand without even needing to worry about running Python scripts to auto-generate.
The biggest trick is just defining the macro that correctly detects which compilers support variadic templates. -- Larry Gritz [email protected] _______________________________________________ Oiio-dev mailing list [email protected] http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
