codex
Loading...
Searching...
No Matches
main.cpp File Reference
#include <algorithm>
#include <cstdio>
#include <tuple>
#include <type_traits>
Include dependency graph for main.cpp:

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()
 

Function Documentation

◆ f()

int f ( )
Here is the caller graph for this function:

◆ main()

int main ( void )
Here is the call graph for this function: