[Rcpp-devel] Limit of 20

Balamuta, James Joseph balamut2 at illinois.edu
Wed Dec 15 21:10:12 CET 2021


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 

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 

Best,

JJB

On 12/15/21, 12:58 PM, "Rcpp-devel on behalf of Dirk Eddelbuettel" <rcpp-devel-bounces at lists.r-forge.r-project.org on behalf of edd at debian.org> wrote:


    On 15 December 2021 at 10:19, Kevin Ushey wrote:
    | I assume we're talking about Vector::create()? Anyone curious poking at it
    | can start by looking here:
    | 
    | https://urldefense.com/v3/__https://github.com/RcppCore/Rcpp/blob/940fb23868bf442e587994451e85263baa302d9c/inst/include/Rcpp/vector/Vector.h*L1122-L1126__;Iw!!DZ3fjg!oGvX2F486Z60labb9l5eUYuxc9fVL9qyvh3QKn-5lljUxCgfQF7Gr8HRN4t8skETuQA$ 

    There is more than one as we have a few auto/macro-generated interfaces in
    the generated/ directory this points to. But the logic is probably similar.

    Dirk

    -- 
    https://urldefense.com/v3/__https://dirk.eddelbuettel.com__;!!DZ3fjg!oGvX2F486Z60labb9l5eUYuxc9fVL9qyvh3QKn-5lljUxCgfQF7Gr8HRN4t8w1-713Q$  | @eddelbuettel | edd at debian.org
    _______________________________________________
    Rcpp-devel mailing list
    Rcpp-devel at lists.r-forge.r-project.org
    https://urldefense.com/v3/__https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel__;!!DZ3fjg!oGvX2F486Z60labb9l5eUYuxc9fVL9qyvh3QKn-5lljUxCgfQF7Gr8HRN4t8XQ4U4Io$ 



More information about the Rcpp-devel mailing list