dune-common  2.4
Namespaces | Macros | Functions
stdthread.hh File Reference
#include <dune/common/nullptr.hh>
#include <dune/common/unused.hh>

Go to the source code of this file.

Namespaces

 Dune
 Dune namespace.
 

Macros

#define DUNE_ASSERT_CALL_ONCE()   ::Dune::assertCallOnce(__FILE__, __LINE__, __func__)
 Make sure call_once() works and provide a helpful error message otherwise. More...
 

Functions

void Dune::doAssertCallOnce (const char *file, int line, const char *function)
 
void Dune::assertCallOnce (const char *file=nullptr, int line=-1, const char *function=nullptr)
 Make sure call_once() works and provide a helpful error message otherwise. More...
 

Macro Definition Documentation

#define DUNE_ASSERT_CALL_ONCE ( )    ::Dune::assertCallOnce(__FILE__, __LINE__, __func__)

Make sure call_once() works and provide a helpful error message otherwise.

This calls assertCallOnce() and automatically provides information about the caller in the error message.