Re: [Rcpp-devel] Example of using finalizer with Rcpp::XPtr

2013-12-31 Thread Tim Keitt
On Mon, Dec 30, 2013 at 10:18 PM, Tim Keitt wrote: > Does anyone have an example of how to override the default delete > finalizer when using the XPtr template? > > I tried a functor, but that does not match the template signature, at > least in my attempt. > I decided to disable the default del

[Rcpp-devel] Example of using finalizer with Rcpp::XPtr

2013-12-30 Thread Tim Keitt
Does anyone have an example of how to override the default delete finalizer when using the XPtr template? I tried a functor, but that does not match the template signature, at least in my attempt. Thanks. THK -- Timothy H. Keitt http://www.keittlab.org/