-
-
Notifications
You must be signed in to change notification settings - Fork 218
Closed
Description
I learned something new on SO today: https://stackoverflow.com/a/55225006/8416610 Apparently it is possible to extend Rcpp with RCPP_EXPOSED_CLASS
even after Rcpp.h
has been included. Unsurprisingly @romainfrancois knew about that before: http://romainfrancois.blog.free.fr/index.php?post/2012/10/25/Rcpp-modules-more-flexible
Suggestion: Update the "Extending Rcpp" vignette to #include <Rcpp.h>
instead of #include RcppCommon.h
(sic) when discussing RCPP_EXPOSED_AS
and RCPP_EXPOSED_WRAP
. One might even draw attention to this quite useful feature.
Metadata
Metadata
Assignees
Labels
No labels