Hi Romain,
You are correct.
I have changed to specializations as below.
However, as to the return type, are you saying the header file then also
becomes
RcppExport std::vector< TimedOptDouble > GetSunPositions(SEXP a)
instead of
RcppExport SEXP GetSunPositions(SEXP a)
? Or do I leave the hea
Le 6 mai 2014 à 08:45, Florian Burkart a écrit :
> Hi everyone (and Dirk),
>
> Second attempt on corrected email list.
>
> I have been trying to extend Rcpp with my own wrap and as templates.
>
> Two issues:
>
> 1) I need to explicitly call wrap. Is that expected?
>
> So for example I wrote
Hi everyone (and Dirk),
Second attempt on corrected email list.
I have been trying to extend Rcpp with my own wrap and as templates.
Two issues:
1) I need to explicitly call wrap. Is that expected?
So for example I wrote this specialization:
template<> SEXP Rcpp::wrap(std::vector const& entri