4 #ifndef DUNE_COMMON_STDTHREAD_HH
5 #define DUNE_COMMON_STDTHREAD_HH
36 const char *
function =
nullptr)
49 #define DUNE_ASSERT_CALL_ONCE() \
50 ::Dune::assertCallOnce(__FILE__, __LINE__, __func__)
Definition of the DUNE_UNUSED macro for the case that config.h is not available.
#define DUNE_UNUSED
A macro for marking variables that the compiler mistakenly flags as unused, which sometimes happens d...
Definition: unused.hh:16
Dune namespace.
Definition: alignedallocator.hh:14
void assertCallOnce(const char *file=nullptr, int line=-1, const char *function=nullptr)
Make sure call_once() works and provide a helpful error message otherwise.
Definition: stdthread.hh:35
void doAssertCallOnce(const char *file, int line, const char *function)
Definition: stdthread.cc:40