WARPXM v1.10.0
Loading...
Searching...
No Matches
utilities.h
Go to the documentation of this file.
1#pragma once
2
3#include <vector>
4#include <cstddef>
5
6void show_for_debug(bool val);
7
8void show_for_debug(int val);
9
10void show_for_debug(size_t val);
11
12void show_for_debug(double val);
13
14void show_for_debug(const std::vector<double>& val);
15
16#ifdef NDEBUG
17#define SHOW(varname) // nothing here
18#else
19#define SHOW(varname) \
20 std::cout << #varname << " = "; \
21 show_for_debug(varname);
22#endif
void show_for_debug(bool val)