summaryrefslogtreecommitdiffhomepage
path: root/dev/lib/io/print.hpp
blob: e3268454151a3c61ad7805327e69ff6e80cf72cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
 * File: print.hpp
 * Purpose: SNU Print library
 * Author: Amlal El Mahrouss. (founder@snu.systems)
 * Copyright 2025, SNU Systems Corp.
 */

#ifndef _SNU_PRINT_HPP
#define _SNU_PRINT_HPP

#include <iostream>

namespace snu::io
{
	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::io

#endif // ifndef _SNU_PRINT_HPP