This makes it easier to portably use this function.
* to have `#include <deal.II/base/exceptions.h>`.
*/
+/**
+ * Wrapper macro around __builtin_expect(). Only used in the assertion macros
+ * (Assert(), AssertNothrow(), and AssertThrow()).
+ */
+#ifdef DEAL_II_HAVE_BUILTIN_EXPECT
+# define DEAL_II_BUILTIN_EXPECT(a, b) __builtin_expect((a), (b))
+#else
+# define DEAL_II_BUILTIN_EXPECT(a, b) (a)
+#endif
+
+
/**
* A macro that serves as the main routine in the exception mechanism for debug
* mode error checking. It asserts that a certain condition is fulfilled,
# define AssertIDA(code) Assert(code >= 0, ExcIDAError(code))
#endif
-
#endif
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams