Debug printing
For quick debugging in C++, XDiag features a simple macro which outputs the name and content of a variable calles XDIAG_SHOW(x)
. For example
will write an output similar to
The XDIAG_SHOW(x)
macro can be used on any XDiag object and several other standard C++ objects as well.