一呼百應, "one call, a hundred responses"
Loading...
Searching...
No Matches
assert.hpp File Reference

assert even during release More...

#include <spdlog/spdlog.h>
#include <spdlog/fmt/bundled/core.h>
Include dependency graph for assert.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ein_assert(cond, ...)
 An assert with spdlog message formatting and logging.
 

Detailed Description

assert even during release

SPDX-FileType: Source
SPDX-FileCopyrightText: 2024 Edward Kmett <ekmett@gmail.com>
SPDX-License-Identifier: BSD-2-Clause OR Apache-2.0

Definition in file assert.hpp.

Macro Definition Documentation

◆ ein_assert

#define ein_assert ( cond,
... )

An assert with spdlog message formatting and logging.

Arguments other than the condition are only evaluated if the condition cond is false.

Note
Present even in release mode.

Definition at line 30 of file assert.hpp.