mirror of
https://github.com/aportelli/LatAnalyze.git
synced 2024-11-10 00:45:36 +00:00
debug macros
This commit is contained in:
parent
30c1e18a48
commit
1b8638e797
@ -35,6 +35,8 @@
|
||||
|
||||
// macro utilities
|
||||
#define unique_arg(...) __VA_ARGS__
|
||||
#define DEBUG_VAR(x) std::cout << #x << "= " << x << std::endl
|
||||
#define DEBUG_MAT(m) std::cout << #m << "=\n" << m << std::endl
|
||||
|
||||
// attribute to switch off unused warnings with gcc
|
||||
#ifndef __GNUC__
|
||||
|
Loading…
Reference in New Issue
Block a user