[Rcpp-devel] Limit of 20

Dirk Eddelbuettel edd at debian.org
Wed Dec 15 22:47:43 CET 2021

On 15 December 2021 at 20:10, Balamuta, James Joseph wrote:
| For those interested, the few other instances can be found by looking under the inst/include/Rcpp/generated/ folder:
| https://github.com/RcppCore/Rcpp/tree/master/inst/include/Rcpp/generated 

Yup, I mentioned the dir, but thanks for spelling it out.  The generated
code, sadly, is a tad hard to read at times.
| In the case of Vector__create.h, one would need to do some varidic templating to abstract away from the current generated approach:
| https://github.com/RcppCore/Rcpp/blob/940fb23868bf442e587994451e85263baa302d9c/inst/include/Rcpp/generated/Vector__create.h 
| This approach has been used previously In the exception/error message update: 
| https://github.com/RcppCore/Rcpp/tree/master/inst/include/Rcpp/exceptions 

Excellent reminder!


https://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org

More information about the Rcpp-devel mailing list