14#include <kaycxx/assert/detail/source_location.hpp>
29 std::string_view reason = {},
30 std::optional<std::source_location> location = KAYCXX_ASSERT_DEFAULT_SOURCE
Defines the assertion_error type.
Assertion functions and related types.
Definition assert.hpp:15
void assert_true(bool actual, std::string_view reason={}, std::optional< std::source_location > location=KAYCXX_ASSERT_DEFAULT_SOURCE)
Asserts that the argument is true.