[Rcpp-devel] Module with vector of a class with inheritance, how to avoid slicing

Dirk Eddelbuettel edd at debian.org
Fri Apr 5 04:29:10 CEST 2013


On 4 April 2013 at 12:45, Krzysztof Sakrejda wrote:
| I realize you did not ask for book suggestions, but a gentle walk
| through all these C++ issues (Slicing, constructors/destructors, and
| the joy of pointers) is contained in Koenig & Moo's "Accelerated C++:
| practical programming by example."

Agreed -- while I have not read that book, Romain and I are big fans of
Meyers' "Effective C++" and "More Effective C++".  

And some point you just need to buckle up and read.

Dirk

-- 
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com


More information about the Rcpp-devel mailing list