ZeroErr
|
#include "zeroerr/internal/config.h"
#include "zeroerr/color.h"
#include "zeroerr/print.h"
#include <iostream>
#include <tuple>
类 | |
struct | zeroerr::last< T1, T > |
struct | zeroerr::last< T1 > |
命名空间 | |
namespace | zeroerr |
宏定义 | |
#define | dbg(...) zeroerr::DebugExpr(__FILE__, __LINE__, __func__, #__VA_ARGS__, __VA_ARGS__) |
函数 | |
template<typename... Args> | |
auto | zeroerr::get_last (Args &&... args) -> typename last< Args... >::type |
get_last is a function to get the last argument of a variadic template. It is used by DebugExpr. | |
template<typename... T> | |
auto | zeroerr::DebugExpr (const char *file, unsigned line, const char *func, const char *exprs, T... t) -> typename last< T... >::type |
DebugExpr is a function to print any type of variable with its type name. It is used by dbg macro. | |
#define dbg | ( | ... | ) | zeroerr::DebugExpr(__FILE__, __LINE__, __func__, #__VA_ARGS__, __VA_ARGS__) |