diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-11-24 02:13:48 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-11-24 02:13:48 +0100 |
| commit | 65a8349aa5526d071b18cd4d42586c46faaa3823 (patch) | |
| tree | f6e2063319ceaaa02f523fb5c289e4f37411a2df /dev/lib/io | |
| parent | df4ec096491ded6d58b9ee094d6942e3188c2d4a (diff) | |
feat! breaking changes for OCL v1.0.48.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev/lib/io')
| -rw-r--r-- | dev/lib/io/print.hpp | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/dev/lib/io/print.hpp b/dev/lib/io/print.hpp deleted file mode 100644 index c710156..0000000 --- a/dev/lib/io/print.hpp +++ /dev/null @@ -1,47 +0,0 @@ -/* - * File: print.hpp - * Purpose: OCL Print library - * Author: Amlal El Mahrouss. (amlal@nekernel.org) - * Copyright 2025 - */ - -#ifndef _OCL_PRINT_HPP -#define _OCL_PRINT_HPP - -#include <iostream> - -namespace ocl::io -{ - template <typename T> - inline void print(T fmt) noexcept - { - std::cout << fmt; - } - - inline void print() noexcept - { - } - - template <typename... Args> - inline void print(Args... fmt) noexcept - { - print(fmt...); - print(); - } - - template <typename T, typename... Args> - inline void print(T fmt, Args... other) noexcept - { - std::cout << fmt; - print(other...); - } - - template <typename... T> - inline void println(T... fmt) noexcept - { - print(fmt...); - print("\n"); - } -} // namespace ocl::io - -#endif // ifndef _OCL_PRINT_HPP |
