dune-common 2.9.0
Loading...
Searching...
No Matches
Macros
assertandreturn.hh File Reference
#include <cassert>

Go to the source code of this file.

Macros

#define DUNE_ASSERT_AND_RETURN(C, X)   (!(C) ? throw [&](){assert(!#C);return 0;}() : 0), X
 Asserts a condition and return on success in constexpr context.