5#ifndef DUNE_COMMON_ASSERTANDRETURN_HH
6#define DUNE_COMMON_ASSERTANDRETURN_HH
8#ifndef DUNE_DISABLE_DEPRECATION_WARNING_ASSERT_AND_RETURN
9#warning "The file assertandreturn.hh is deprecated. Since c++14 constexpr functions allow more \
10than a single return statement and thus this utility is useless. Will be removed after \
27 #define DUNE_ASSERT_AND_RETURN(C,X) X
29 #define DUNE_ASSERT_AND_RETURN(C,X) (!(C) ? throw [&](){assert(!#C);return 0;}() : 0), X