dune-common 2.9.0
Loading...
Searching...
No Matches
Namespaces | Macros | Functions
stdthread.hh File Reference

Go to the source code of this file.

Namespaces

namespace  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.
 

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.
 

Macro Definition Documentation

◆ DUNE_ASSERT_CALL_ONCE

#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.