#pragma once #include "types.h" #include #include #include #include template std::string generate_printf_string(const char* sep = " ", const char* end = "\n") { std::string str; (void)std::initializer_list{ (str += types::printf_str[types::Types::getType()], str += sep, 0)... }; str += end; return str; }