[Rcpp-devel] Question about modules

Tim Keitt tkeitt at utexas.edu
Thu Jan 9 03:16:00 CET 2014


I did a little experiment with RCPP_MODULE trying to wrap a class from
another library. The class in question has a protected default constructor
and uses a non-member factory function for instantiation.

In short I did not get it to work. I am assuming that if you do not include
a .constuctor statement, then the class does not get wrapped in the module.
Is that correct?

THK

-- 
http://www.keittlab.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20140108/c4382912/attachment.html>


More information about the Rcpp-devel mailing list