[Rcpp-devel] assert() for Rcpp?

JJ Allaire jj.allaire at gmail.com
Fri Feb 20 14:41:22 CET 2015


>
> This would still bypass the dror for the RNGscope object automatically added by Rcpp::export right ?
>

Indeed it would. I think Dirk's example is really just an illustration
of how we handle exceptions internally via the BEGIN/END macros and
not something that user code should ever emulate (unless it's outside
of Rcpp::export and doesn't use the BEGIN/END macros.


More information about the Rcpp-devel mailing list