summaryrefslogtreecommitdiff
path: root/include/fud_print.hpp
diff options
context:
space:
mode:
authorDominick Allen <djallen@librehumanitas.org>2025-01-02 15:11:51 -0600
committerDominick Allen <djallen@librehumanitas.org>2025-01-02 15:11:51 -0600
commit87071200872c2450c947047350132aee493033c1 (patch)
tree49109532d9bbd148b4e59043120037684093be33 /include/fud_print.hpp
parent16379362c02a2472f00fac49cad62788547c9519 (diff)
Get basic CSV parser operating.
Diffstat (limited to 'include/fud_print.hpp')
-rw-r--r--include/fud_print.hpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/fud_print.hpp b/include/fud_print.hpp
index 592b106..a8e61de 100644
--- a/include/fud_print.hpp
+++ b/include/fud_print.hpp
@@ -35,6 +35,17 @@ FormatResult print(FormatString fmt, Args&&... args)
return format(outSink, FormatCharMode::Unchecked, fmt, std::forward<Args>(args)...);
}
+inline void debugPrint(FormatString fmt)
+{
+ static_cast<void>(print(fmt));
+}
+
+template <typename... Args>
+void debugPrint(FormatString fmt, Args&&... args)
+{
+ static_cast<void>(print(fmt, std::forward<Args>(args)...));
+}
+
} // namespace fud
#endif