Macro std::dbg

macro dbg($value) { ... }

A helper for printing a value of a subexpression for debugging purposes.

It prints the value to standard error with code location (file, line, column) and returns the value.

Example