MCPcopy Create free account
hub / github.com/Predelnik/DSpellCheck / wstring_printf

Function wstring_printf

src/common/Utility.h:47–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45
46template <typename... ArgTypes>
47std::wstring wstring_printf(const wchar_t *format, ArgTypes &&... args) {
48 size_t size = _snwprintf(nullptr, 0, format, args...);
49 std::vector<wchar_t> buf(size + 1);
50 _snwprintf(buf.data(), size + 1, format, args...);
51 return buf.data();
52}
53
54class MoveOnlyFlag {
55 using Self = MoveOnlyFlag;

Callers 15

saveMethod · 0.85
processMethod · 0.85
update_file_listMethod · 0.85
get_product_and_versionFunction · 0.85
remove_selectedMethod · 0.85
start_next_downloadMethod · 0.85

Calls 1

dataMethod · 0.80

Tested by

no test coverage detected