ZeroErr
载入中...
搜索中...
未找到
dbg.h 文件参考
#include "zeroerr/internal/config.h"
#include "zeroerr/color.h"
#include "zeroerr/print.h"
#include <iostream>
#include <tuple>
dbg.h 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

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.
 

宏定义说明

◆ dbg

#define dbg (   ...)    zeroerr::DebugExpr(__FILE__, __LINE__, __func__, #__VA_ARGS__, __VA_ARGS__)