#pragma once #include #include #include #include "format.hpp" namespace util { template inline constexpr auto print(std::string_view fmt, Ts&&... args) ->void{ const auto str = util::format(fmt, std::forward(args)...); std::cout.write(str.c_str(), str.size()); } template inline constexpr auto println(std::string_view fmt, Ts&&... args) ->void{ print(fmt, std::forward(args)...); std::cout.put('\n'); } }