Re: [Rcpp-devel] Extending as-wrap question

2013-04-29 Thread Dirk Eddelbuettel
On 29 April 2013 at 09:28, Finlay Scott wrote: | Hi, | I have some questions regarding extending 'as' and 'wrap' for custom classes. | | In my simple example I have declared a new class which has a single member. | This member is of type NumericVector, i.e. it is an Rcpp class. I have written | s

[Rcpp-devel] Extending as-wrap question

2013-04-29 Thread Finlay Scott
Hi, I have some questions regarding extending 'as' and 'wrap' for custom classes. In my simple example I have declared a new class which has a single member. This member is of type NumericVector, i.e. it is an Rcpp class. I have written simple 'as' and 'wrap' extensions using non-intrusive extensi