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

2015-05-22 Thread Dirk Eddelbuettel
On 22 May 2015 at 17:31, Fabio Tordini wrote: | Solved! | | Apparently, declaration and definition of 'as' and 'wraps' were correct | - that explains why it worked as expected in a sample implementation. | | The problem was likely related to the order in which (and | ) were included (as Kevin

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

2015-05-22 Thread Fabio Tordini
Solved! Apparently, declaration and definition of 'as' and 'wraps' were correct - that explains why it worked as expected in a sample implementation. The problem was likely related to the order in which (and ) were included (as Kevin suggested). Following the 'sandboxed_server' example ava