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

Tim Keitt tkeitt at gmail.com
Tue Dec 31 18:45:53 CET 2013


On Mon, Dec 30, 2013 at 10:18 PM, Tim Keitt <tkeitt at gmail.com> 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 delete finalizer and register a different
one on the R side.

THK


>
> Thanks.
>
> THK
>
> --
> Timothy H. Keitt
> http://www.keittlab.org/
>



-- 
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/20131231/702f9f73/attachment.html>


More information about the Rcpp-devel mailing list