Open ajrominger opened 1 year ago
the two approaches:
roleDataCpp
iterModelCpp
Rcpp::clone
niterTimestep
So do we need both? I tried commenting out the copy constructor and copy assignment operator and nothing bad seems to have happened!
thoughts @jidec ?
the two approaches:
roleDataCpp
includes a copy constructor and a copy assignment operatoriterModelCpp
callsRcpp::clone
to clone object values at eachniterTimestep
(i.e. when a snapshot is saved)So do we need both? I tried commenting out the copy constructor and copy assignment operator and nothing bad seems to have happened!
thoughts @jidec ?