
16 Oct
2009
16 Oct
'09
10:18 a.m.
alfa wrote:
but I need this generalization of multiplies as one of the default parameter of a template, how would you pass a lambda expression as template parameter?
As a part of my workj on Boost.SIMD, i have a generlized fucntor with
result_of protocol support and tag-dispatching.
Basically :
functor<plus>()(x,y)
return the sum of x and y for the correct semantic of + for the type of
x and y.
result_of