On 2010-12-23, at 10:03 AM, [email protected] wrote:

>> Maybe you could create a functor for each basic function and use that in a 
>> common loop implementation.
>> 
>> I also tried templatizing Ftor on the function it delegates to, so that you 
>> could do something like Ftor<exp>(), but I couldn't get it to compile. Your 
>> template-fu is far better than mine, so maybe you'll be able to wrangle it 
>> into shape and have even more succint code.
> 
> My plan is to go through macros


I guess it is simpler, but oh so old-fashioned. :-)

Davor
_______________________________________________
Rcpp-devel mailing list
[email protected]
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel

Reply via email to