14 lines
265 B
C++
14 lines
265 B
C++
#pragma once
|
|
|
|
#include <string_view>
|
|
#include <fmt/format.h>
|
|
#include <fmt/ranges.h>
|
|
|
|
namespace hex {
|
|
|
|
template<typename... Args>
|
|
std::string format(std::string_view format, Args... args) {
|
|
return fmt::format(fmt::runtime(format), args...);
|
|
}
|
|
|
|
} |