Thank you Kevin, I'll try another approach but only knowing that I can't do
it that way is useful for me.
Regards
Daniel
El 02/05/2015 07:40, "Kevin Ushey" escribió:
> Hi Daniel,
>
> Unfortunately, you cannot use // [[Rcpp::export]] to automagically export
> template functions.
>
> The general a
Hi Daniel,
Unfortunately, you cannot use // [[Rcpp::export]] to automagically export
template functions.
The general alternative approach is to define a template implementation,
and then dynamically dispatch to that implementation, e.g.
template
void doStuffImpl() { ... }
with dispatch a