#pragma once #include #include #include #include namespace utils { std::string join(const std::vector& strings, const char *separator) { std::ostringstream oss; std::copy(strings.begin(), strings.end(), std::ostream_iterator(oss, separator)); return oss.str(); } template std::string prints(const Args&... args) { std::vector strings = {args...}; return join(strings, " "); } }