StrFmt: print src_loc error as string

This commit is contained in:
Megamouse 2022-03-16 19:59:20 +01:00
parent 04df392866
commit 7a1a4541c0
2 changed files with 29 additions and 2 deletions

View file

@ -8,6 +8,11 @@ namespace fmt
{
template <typename CharT, usz N, typename... Args>
static std::string format(const CharT(&)[N], const Args&...);
#ifdef _WIN32
// Get a string for a windows error (DWORD)
std::string win_error_to_string(unsigned long error);
#endif
}
template <typename T, typename = void>