Now that ICPC supports noexcept properly, add a version check to the #ifdef that disables noexcept for ICPC. Also, try to use __attribute__((nothrow)) to support noexcept-like behavior with older versions of ICPC. I have not yet tested or compiled this code. If the attribute stuff causes issues, remove the forward declarations with the attributes and just use the #ifdef changes.
3f520f4Bryce Adelstein-Lelbach114mo ago