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

Tim Keitt tkeitt at gmail.com
Tue Dec 31 05:18:06 CET 2013


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/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20131230/c43e089b/attachment.html>


More information about the Rcpp-devel mailing list