Files
imhex/lib/libimhex/include/hex/helpers/fmt.hpp

15 lines
288 B
C++

#pragma once
#include <string_view>
#include <fmt/core.h>
#include <fmt/ranges.h>
#include <fmt/ostream.h>
namespace hex {
template<typename... Args>
std::string format(std::string_view format, Args... args) {
return fmt::format(fmt::runtime(format), args...);
}
}