tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
cassert.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: BSL-1.0
2// SPDX-FileCopyrightText: Copyright (C) 2019 Tobias Hienzsch
3
4#ifndef TETL_CASSERT_HPP
5#define TETL_CASSERT_HPP
6
7/// \defgroup cassert cassert
8/// Conditionally compiled macro that compares its argument to zero
9/// \ingroup errors-library
10/// \example cassert.cpp
11/// \code{.cpp}
12/// #include <etl/cassert.hpp>
13/// \endcode
14
15#include <etl/_config/all.hpp>
16
17#include <etl/_cassert/assert.hpp>
18
19#ifndef assert
20 #define assert(...) TETL_ASSERT(__VA_ARGS__)
21#endif
22
23#endif // TETL_CASSERT_HPP