[Rcpp-devel] error: wrap is not a template function

Kevin Ushey kevinushey at gmail.com
Thu May 21 20:24:04 CEST 2015


Fabio,

Is it possible that <RcppGSL.h> is getting included before that header
file is included? If that were the case, that would imply <Rcpp.h>
would be getting #include'd before you're able to make your as / wrap
specializations.

Just a guess...
Kevin

On Thu, May 21, 2015 at 10:15 AM, Dirk Eddelbuettel <edd at debian.org> wrote:
>
> On 21 May 2015 at 12:59, Gábor Csárdi wrote:
> | https://github.com/search?utf8=%E2%9C%93&q=
> | wrap+as+user%3Acran+language%3AC%2B%2B&type=Code
> |
> | But unfortunately both wrap and as are non-specific.....
>
> Throwing 'template' in front of both seems to narrow this. Nice!
>
> https://github.com/search?utf8=%E2%9C%93&q=template+wrap+as+user%3Acran+language%3AC%2B%2B&type=Code
>
> Dirk
>
> --
> http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org
> _______________________________________________
> Rcpp-devel mailing list
> Rcpp-devel at lists.r-forge.r-project.org
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel


More information about the Rcpp-devel mailing list