Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
Loading...
Searching...
No Matches
exceptions.hpp File Reference
#include <cstdlib>
#include <utility>
#include <universal/utility/exceptions_check.hpp>

Namespaces

namespace  sw
 required std libraries
namespace  sw::universal

Macros

#define UNIVERSAL_COMPILER_HAS_EXCEPTIONS   0
#define UNIVERSAL_HAS_EXCEPTIONS   UNIVERSAL_COMPILER_HAS_EXCEPTIONS

Functions

template<typename Exception>
constexpr void sw::universal::throw_or_abort (Exception &&e)

Macro Definition Documentation

◆ UNIVERSAL_COMPILER_HAS_EXCEPTIONS

#define UNIVERSAL_COMPILER_HAS_EXCEPTIONS   0

◆ UNIVERSAL_HAS_EXCEPTIONS

#define UNIVERSAL_HAS_EXCEPTIONS   UNIVERSAL_COMPILER_HAS_EXCEPTIONS