> > 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. _______________________________________________ Rcpp-devel mailing list Rcpp-devel@lists.r-forge.r-project.org https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel