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
6
void
show_for_debug
(
bool
val);
7
8
void
show_for_debug
(
int
val);
9
10
void
show_for_debug
(
size_t
val);
11
12
void
show_for_debug
(
double
val);
13
14
void
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
show_for_debug
void show_for_debug(bool val)
src
lib
utilities.h
Generated by
1.9.6