Two more coments
authorMilian Wolff <mail@milianw.de>
Mon, 15 Jun 2015 20:42:41 +0000 (22:42 +0200)
committerMilian Wolff <mail@milianw.de>
Mon, 15 Jun 2015 20:42:41 +0000 (22:42 +0200)
libheaptrack.cpp

index 1e0f65b..85989a8 100644 (file)
@@ -62,8 +62,13 @@ enum DebugVerbosity
     VeryVerboseOutput,
 };
 
+// change this to add more debug output to stderr
 constexpr const DebugVerbosity s_debugVerbosity = NoDebugOutput;
 
+/**
+ * Call this to optionally show debug information but give the compiler
+ * a hand in removing it all if debug output is disabled.
+ */
 template<DebugVerbosity debugLevel, typename... Args>
 inline void debugLog(const char fmt[], Args... args)
 {