codex
|
Classes | |
struct | errc_for_f |
struct | errc_for_f< f > |
struct | errc_for_f< g > |
Typedefs | |
template<errc ... errs> | |
using | errc_list = std::tuple<std::integral_constant<errc, errs>...> |
template<auto f> | |
using | errc_for_f_t = typename errc_for_f<f>::type |
Enumerations | |
enum class | errc { ERR1 = 1 , ERR2 , ERR3 } |
enum class | log_level { ERROR , WARNING , INFO , DEBUG } |
Functions | |
errc | f () |
errc | g () |
template<typename L , errc e> | |
consteval bool | errc_in_list () |
template<auto f, errc e> | |
consteval bool | f_returns_errc () |
log_level | calc_log_level () |
template<log_level l, typename ... Ts> | |
void | log (const char *msg, Ts &&...args) |
Variables | |
static constexpr auto | maximum_log_level = log_level::ERROR |
static auto | actual_log_level = calc_log_level() |
using N::errc_for_f_t = typename errc_for_f<f>::type |
log_level N::calc_log_level | ( | ) |
|
consteval |
errc N::f | ( | ) |
|
consteval |
errc N::g | ( | ) |
void N::log | ( | const char * | msg, |
Ts &&... | args ) |
|
static |
|
staticconstexpr |