9#ifndef MI_MATH_ASSERT_H
10#define MI_MATH_ASSERT_H
42#if defined( mi_math_assert) && ! defined( mi_math_assert_msg) \
43 || ! defined( mi_math_assert) && defined( mi_math_assert_msg)
44error "Only one of mi_math_assert and mi_math_assert_msg has been defined. Please define both."
61#define mi_math_assert(expr) mi_base_assert(expr)
80#define mi_math_assert_msg(expr, msg) mi_base_assert_msg(expr, msg)
89#define mi_math_assert_enabled
90#undef mi_math_assert_enabled
94#ifdef mi_base_assert_enabled
95#define mi_math_assert_enabled
100#define mi_math_assert_enabled
Assertions and compile-time assertions.
Configuration of the Base API.
std::basic_ostream<C, T> & error(std::basic_ostream<C, T> &ostream)
Manipulator for mi::base::Log_stream.
Definition: ilogger.h:542
Common namespace for APIs of NVIDIA Advanced Rendering Center GmbH.
Definition: example_derivatives.dox:5