#include "zeroerr/internal/config.h"
#include "zeroerr/color.h"
#include "zeroerr/print.h"
#include <iostream>
#include <tuple>
Go to the source code of this file.
|
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. More...
|
|
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. More...
|
|
◆ dbg
#define dbg |
( |
|
... | ) |
zeroerr::DebugExpr(__FILE__, __LINE__, __func__, #__VA_ARGS__, __VA_ARGS__) |