[Rcpp-devel] RcppModules with templated class
Gregory Jefferis
jefferis at mrc-lmb.cam.ac.uk
Mon Sep 1 23:34:50 CEST 2014
Gregory Jefferis
On 1 Sep 2014, at 22:29, "Dr Gregory Jefferis" <jefferis at mrc-lmb.cam.ac.uk> wrote:
> RCPP_EXPOSED_CLASS_NODECL(MyClassD)
> RCPP_MODULE(class_MyClassF) {
> class_<MyClassF>( "MyClassF" )
> .constructor<Eigen::Map<Eigen::MatrixXd> >()
> // other methods ...
> ;
> }
Hmm already spotted a typo. That second block should of course have started
RCPP_EXPOSED_CLASS_NODECL(MyClassF)
More information about the Rcpp-devel
mailing list