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