terminal/dep
Dustin L. Howett 114e462669
Import fmtlib/fmt@6.2.0, a C++20-style format library (#5336)
We received a request from our localization team to switch from
printf-style format strings (%s, %u) to format strings with positional
argument support. I've been hoping for a long time to take a dependency
on C++20's std::format, but we're just not somewhere we can do that.
Enter fmt. fmt is _exactly_ the library we need.

Minor comparison:

std::wstring_view world = /* ... */;
auto str{ wil::str_printf<std::wstring>(L"hello %.*s",
	   gsl::narrow_cast<size_t>(world.size()),
	   world.data()) };

---

auto str{ fmt::format(L"hello {0}", world) };

If you really want to use the print specifiers:

auto str{ fmt::printf(L"hello %s", world) };

It's got optional compile-time checking for format strings and is
MIT-licensed. Eventually, we should be able to replace fmt:: with std::
and end up pretty much where we left off.
What more could you ask for?
2020-04-14 13:04:23 -07:00
..
chromium Introduce chromium safe math (#4144) 2020-01-16 18:51:06 +00:00
CLI11 Add support for commandline args to wt.exe (#4023) 2020-01-27 15:34:12 +00:00
Console Initial release of the Windows Terminal source code 2019-05-02 15:29:04 -07:00
dynamic_bitset Update til::bitmap to use dynamic_bitset<> + libpopcnt (#5092) 2020-03-25 02:41:10 +00:00
fmt Import fmtlib/fmt@6.2.0, a C++20-style format library (#5336) 2020-04-14 13:04:23 -07:00
gsl@7e99e76c97 deps: upgrade CppWinRT to 2.0.200316.3, gsl to v2.1.0 (#4536) 2020-03-23 17:15:24 +00:00
jsoncpp Switch to jsoncpp as our json library (#1005) 2019-06-04 16:55:27 -05:00
libpopcnt Update til::bitmap to use dynamic_bitset<> + libpopcnt (#5092) 2020-03-25 02:41:10 +00:00
llvm add audit build step for code formatting check (#1208) 2019-06-11 16:23:21 -07:00
NT Initial release of the Windows Terminal source code 2019-05-02 15:29:04 -07:00
nuget Initial release of the Windows Terminal source code 2019-05-02 15:29:04 -07:00
telemetry Initial release of the Windows Terminal source code 2019-05-02 15:29:04 -07:00
wil@e8c599bca6 Update a number of our dependencies (#2301) 2019-08-07 16:43:49 -07:00
Win32K Initial release of the Windows Terminal source code 2019-05-02 15:29:04 -07:00
WinAppDriver Initial release of the Windows Terminal source code 2019-05-02 15:29:04 -07:00