diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-08-24 12:06:22 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-08-24 12:07:16 -0700 |
| commit | 14f42a66d3e3eca8c2d917fc391a1f8e8bfa7de8 (patch) | |
| tree | 8601e3ed7a05bb61aca815666b28c0755b31c530 /toolsrc/include | |
| parent | a3e607c8f1b759fee75ef5dd7b420ef7df48da1a (diff) | |
| download | vcpkg-14f42a66d3e3eca8c2d917fc391a1f8e8bfa7de8.tar.gz vcpkg-14f42a66d3e3eca8c2d917fc391a1f8e8bfa7de8.zip | |
[Strings::format] Add overload for unisigned long
Diffstat (limited to 'toolsrc/include')
| -rw-r--r-- | toolsrc/include/vcpkg_Strings.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/toolsrc/include/vcpkg_Strings.h b/toolsrc/include/vcpkg_Strings.h index 325a2cb4c..e94742c8f 100644 --- a/toolsrc/include/vcpkg_Strings.h +++ b/toolsrc/include/vcpkg_Strings.h @@ -19,10 +19,12 @@ namespace vcpkg::Strings::details inline long long to_printf_arg(const long long s) { return s; } - inline double to_printf_arg(const double s) { return s; } + inline unsigned long to_printf_arg(const unsigned long s) { return s; } inline size_t to_printf_arg(const size_t s) { return s; } + inline double to_printf_arg(const double s) { return s; } + std::string format_internal(const char* fmtstr, ...); inline const wchar_t* to_wprintf_arg(const std::wstring& s) { return s.c_str(); } |
