Loading...
Searching...
No Matches
34#ifndef mpqc_util_misc_assert_h
35#define mpqc_util_misc_assert_h
37#include <mpqc_config.h>
40#if MPQC_ASSERT_MODE == 0
41# define MPQC_ASSERT( a )
45#if MPQC_ASSERT_MODE == 1
47# define MPQC_ASSERT( a ) assert(a)
51#if MPQC_ASSERT_MODE == 2
52# include <util/misc/exception.h>
53# define MPQC_ASSERT( a ) ((not (a)) ? throw sc::Exception("assertion failed", __FILE__, __LINE__) : 1)
Generated at Wed Sep 25 2024 02:45:31 for MPQC
3.0.0-alpha using the documentation package Doxygen
1.12.0.