[Rcpp-devel] Rcpp_RObject.h -> Rcpp/RObject.h ?

Dirk Eddelbuettel edd at debian.org
Wed Dec 30 00:00:08 CET 2009


Another scheme I like, particularly along with the namespace, is to use
subdirectories for includes.  

So I'd suggest to create src/Rcpp/ and to place RObject.h and XPtr.h in there
so that we'd then do 

   #include <Rcpp/XPtr.h>
   #include <Rcpp/RObject.h>

Thumbs up or thumbs down?   The user doesn't really see it as he or she only
include Rcpp.h.

Dirk

-- 
Three out of two people have difficulties with fractions.


More information about the Rcpp-devel mailing list