|
dune-common
2.7.1
|
#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... | |
| #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.