2021-08-29 22:15:18 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <string_view>
|
|
|
|
#include <fmt/format.h>
|
2024-07-01 22:00:08 +02:00
|
|
|
#include <fmt/ranges.h>
|
2021-08-29 22:15:18 +02:00
|
|
|
|
|
|
|
namespace hex {
|
|
|
|
|
2022-01-24 20:53:17 +01:00
|
|
|
template<typename... Args>
|
2023-11-10 20:47:08 +01:00
|
|
|
std::string format(std::string_view format, Args... args) {
|
2021-08-29 22:15:18 +02:00
|
|
|
return fmt::format(fmt::runtime(format), args...);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|