This PR adds the possibility to use the library with exceptions disabled (through -fno-exceptions option on Clang and GCC, without an /EH option on MSVC or simply by defining TSL_NO_EXCEPTIONS). std::terminate is used in replacement of the throw instruction when exceptions are disabled.
This PR adds the possibility to use the library with exceptions disabled (through
-fno-exceptions
option on Clang and GCC, without an/EH
option on MSVC or simply by definingTSL_NO_EXCEPTIONS
).std::terminate
is used in replacement of thethrow
instruction when exceptions are disabled.