/* * 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 #include namespace ocl::io { template inline void print(T fmt, Args... other) noexcept { std::cout << fmt; print(other...); } template inline void print(T fmt) noexcept { std::cout << fmt; } inline void print() noexcept { std::cout << std::endl; } template inline void println(T... fmt) noexcept { print(fmt...); print(); } } // namespace ocl::io #endif // ifndef _OCL_PRINT_HPP