Skip to content
Prev 2749 / 10988 Next

[Rcpp-devel] Code Refactor Proposal: exception specifiers

The whole Exceptions section (units 9 to 15) is worth a read.
I wasn't proposing introducing noexcept at this stage; I was proposing
stripping out all the throw() specifications. They are very unlikely to
be of positive benefit, but can negatively affect performance.
(You would expect them to be a compile-time check, that has no effect on
run-time (*), but in reality they are the opposite: they are not used at
compile-time, but are used at run-time.)

Darren

*: Which I think is how they work in Java? (My java is getting rather
rusty.)