summaryrefslogtreecommitdiff
path: root/asl/print.hpp
diff options
context:
space:
mode:
authorSteven Le Rouzic <steven.lerouzic@gmail.com>2025-02-17 00:21:48 +0100
committerSteven Le Rouzic <steven.lerouzic@gmail.com>2025-02-17 22:29:50 +0100
commita141c401f78467bc15f62882fca5d55a007cacbb (patch)
tree908ac71a8640f78f45d22c6808c5fa6e373000fa /asl/print.hpp
parentcb77cbe9ce4cddad6a460aa190ff70f0c13e4703 (diff)
Reorganize everything
Diffstat (limited to 'asl/print.hpp')
-rw-r--r--asl/print.hpp29
1 files changed, 0 insertions, 29 deletions
diff --git a/asl/print.hpp b/asl/print.hpp
deleted file mode 100644
index 283a311..0000000
--- a/asl/print.hpp
+++ /dev/null
@@ -1,29 +0,0 @@
-#pragma once
-
-#include "asl/format.hpp"
-
-namespace asl
-{
-
-namespace print_internals
-{
-
-// @Todo Make print writers thread safe
-Writer* get_stdout_writer();
-Writer* get_stderr_writer();
-
-} // namespace print_internals
-
-template<formattable... Args>
-void print(string_view fmt, const Args&... args)
-{
- format(print_internals::get_stdout_writer(), fmt, args...);
-}
-
-template<formattable... Args>
-void eprint(string_view fmt, const Args&... args)
-{
- format(print_internals::get_stderr_writer(), fmt, args...);
-}
-
-} // namespace asl