#include <concepts>
#include <format>
#include <functional>
#include <iostream>
#include <ostream>
#include <print>
#include <ranges>
#include <sstream>
#include <string_view>
#include <utility>
#include "fe/loc.h"
#include "fe/utf8.h"
Go to the source code of this file.
|
| template<class F> |
| | fe::StreamFn (F) -> StreamFn< F > |
| template<class R> |
| | fe::Join (R &&, std::string_view=", ") -> Join< R > |
◆ assertf
| #define assertf |
( |
| condition, |
|
|
| ... ) |
Value:do { \
if (!(condition)) { \
std::println(std::cerr, "{}:{}: assertion `{}` failed", __FILE__, __LINE__, #condition); \
std::println(std::cerr, __VA_ARGS__); \
fe::breakpoint(); \
} \
} while (false)
Definition at line 194 of file format.h.