# endif /*ifdef KOKKOS_ACTIVE_EXECUTION_MEMORY_SPACE_HOST*/
# endif /*KOKKOS_ACTIVE_EXECUTION_MEMORY_SPACE_HOST*/
#else /*ifdef DEBUG*/
-# ifdef DEAL_II_HAVE_CXX20
-/*
- * In order to avoid unused parameters (etc.) warnings we need to use cond
- * and exc without actually evaluating the expression and generating code.
- * We accomplish this by using decltype(...) and create a dummy pointer
- * with these signatures. Notably, this approach works with C++20 onwards.
- */
-# define Assert(cond, exc) \
- do \
- { \
- std::remove_reference_t<decltype(cond)> *dealii_assert_variable_a = \
- nullptr; \
- std::remove_reference_t<decltype(exc)> *dealii_assert_variable_b = \
- nullptr; \
- (void)dealii_assert_variable_a; \
- (void)dealii_assert_variable_b; \
- } \
- while (false)
-# else
-# define Assert(cond, exc) \
- do \
- { \
- if (false) \
- if (!(cond)) \
- { \
- } \
- } \
- while (false)
-# endif
+# define Assert(cond, exc) \
+ do \
+ { \
+ if (false) \
+ if (!(cond)) \
+ { \
+ } \
+ } \
+ while (false)
#endif /*ifdef DEBUG*/