I noticed that for Rcpp::Vector there is no const () operator. For example,
double foo(const Rcpp::Vector<REALSXP>& bar) { return bar(0); }
will fail. Is there a workaround for this? Thanks!
Cheers,
Jonathan
_______________________________________________ Rcpp-devel mailing list [email protected] https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel
