August 07, 2010
On 07/08/2010 16:25, Blonder wrote:
> Is there a difference (performance) or something else between the two solutions?

I doubt it, templates are applied at compile time in the front end of the compiler so the generated code should be the same.

The if style syntax allows much more comprehensive restrictions to be placed on the template, but if it's a simple restriction the specialisation looks a bit neater. (well I think so)

-- 
My enormous talent is exceeded only by my outrageous laziness.
http://www.ssTk.co.uk
1 2
Next ›   Last »