
22 Oct
2009
22 Oct
'09
12:06 a.m.
As a part of my workj on Boost.SIMD, i have a generlized fucntor with result_of protocol support and tag-dispatching.
thank you, where I can find Boost.SIMD, is functor defined there?
Basically :
functor<plus>()(x,y)
return the sum of x and y for the correct semantic of + for the type of x and y.
is this "plus" the same as "std::plus"? If so how can x, y be of different type?
result_of
::type returns it result type. Is that smthg like that you need ?
seems very similar to what I am looking for. I will know after knowning more details. Thank you, Alfredo