Resolve "debout path name"
Uses a constexpr function to determine the filename from the path given by __FILE__
for use by debout
.
This is easier than changing the value of __FILE__
again, since it is determined as follows (under GCC):
This macro expands to the name of the current input file, in the form of a C string constant. This is the path by which the preprocessor opened the file, not the short name specified in ‘#include’ or as the input file name argument. For example, "/usr/local/include/myheader.h" is a possible expansion of this macro.
https://gcc.gnu.org/onlinedocs/cpp/Standard-Predefined-Macros.html
Closes #74 (closed)