Skip to content
Prev 3476 / 10988 Next

[Rcpp-devel] Problem with the copy constructor of Rcpp::S4

Hi Douglas,

I've tried that: Rcpp::S4 res(Rcpp::clone(Rcpp::S4(obj.slot("results")));

But it doesn't solve the problem because you actually clone the reference returned by the copy constructor...

R?mi

Le 16 f?vr. 2012 ? 17:25, Douglas Bates a ?crit :
R?mi Lebret
Ing?nieur de recherche CNRS
Laboratoire de math?matiques de Lille1 - UMR 8524
Batiment M3 - Bureau 322
Tel: 03 20 43 67 82
remi.lebret at math.univ-lille1.fr

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20120216/89b467cf/attachment-0001.html>