MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
Loading...
Searching...
No Matches
exceptions.hpp File Reference
#include <cstdio>
#include <cstdlib>
#include <utility>

Namespaces

namespace  mtl
namespace  mtl::detail
 mat*vec multiply into pre-allocated y: y = A * x.

Macros

#define MTL5_HAS_EXCEPTIONS   0

Functions

template<typename E>
void mtl::detail::throw_or_abort (E &&e)
 Throw e; with exceptions disabled, abort instead.
void mtl::detail::contract_abort (const char *what) noexcept
 A broken contract on a path that cannot throw (a noexcept move): print the message and abort, in every build.

Macro Definition Documentation

◆ MTL5_HAS_EXCEPTIONS

#define MTL5_HAS_EXCEPTIONS   0