[Rcpp-devel] copy constructor

Tama Ma pingnang at phys.ethz.ch
Tue Nov 15 00:30:05 CET 2011

Hi Dirk and Romain,

	I have been trying to wrap the C++ copy constructor using the Rcpp module, and has been rather unsuccessful. I look at the clone() function which Dirk mentioned, and that only manages to copy the pointer of the C++ object, thus rather useless.

	Would you have any alternative solutions?

	Thank you very much.

Best regards,
Tama Ma 
(+41 78 640 50 15)

pingnang at phys.ethz.ch

HIT K 31.3
Institut für Theoretische Physik
Wolfgang-Pauli-Strasse 27
ETH Hönggerberg
8093 Zürich

More information about the Rcpp-devel mailing list