diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-07-26 01:47:32 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-07-26 01:47:32 +0100 |
| commit | c52dbf5513ae7f106634967162da5cfb01dc5af3 (patch) | |
| tree | b6715d0fdacebd48491b9b05cf85f1d92028f84b /dev/lib/io/print.hpp | |
| parent | 01565adb9cf5ef991196f56c7f5f7b6161daa005 (diff) | |
feat: SOCL v1.0.2, changelog soon!v1.0.2
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev/lib/io/print.hpp')
| -rw-r--r-- | dev/lib/io/print.hpp | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/dev/lib/io/print.hpp b/dev/lib/io/print.hpp new file mode 100644 index 0000000..0a5b5e2 --- /dev/null +++ b/dev/lib/io/print.hpp @@ -0,0 +1,29 @@ +/* + * File: print.hpp + * Purpose: SNU Print library + * Author: Amlal El Mahrouss. (founder@snu.systems) + * Copyright 2025, SNU Systems Corp all rights reserved. + */ + +#ifndef _SNU_PRINT_HPP +#define _SNU_PRINT_HPP + +#include <iostream> + +namespace snu +{ + template <typename... T> + inline void print(T... fmt) + { + std::cout << std::move(fmt...); + } + + template <typename... T> + inline void println(T... fmt) + { + std::cout << std::move(fmt...); + std::cout << std::endl; + } +} // namespace snu + +#endif // ifndef _SNU_PRINT_HPP
\ No newline at end of file |
