flatsurf / e-antic

Embedded algebraic number fields
https://flatsurf.github.io/e-antic/libeantic/
GNU Lesser General Public License v3.0
12 stars 11 forks source link

Drop noexcept qualifiers #132

Closed saraedum closed 4 years ago

saraedum commented 4 years ago

When I added the noexcepts I had a wrong concept on what these are good for. I am now following the advice given in https://akrzemi1.wordpress.com/2011/06/10/using-noexcept. I.e., we only use noexcept where it is actually true (most operations might end up allocating memory so they are not noexcept) and we also only put them when there is a benefit in doing so (mostly move operations so std containers use a faster code path.)