diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-08-28 18:45:30 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-08-28 19:54:01 -0700 |
| commit | 259d6f83b46da9b7127eb8c7907cdcb74ce5bdf4 (patch) | |
| tree | 68a76223aeaec3a469b02ecbb1c4fba16214cf2e | |
| parent | b1cebc0740765b90af905d6f1c90ea9830506e1b (diff) | |
| download | vcpkg-259d6f83b46da9b7127eb8c7907cdcb74ce5bdf4.tar.gz vcpkg-259d6f83b46da9b7127eb8c7907cdcb74ce5bdf4.zip | |
Introduce Strings::EMPTY
| -rw-r--r-- | toolsrc/include/vcpkg_Strings.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/toolsrc/include/vcpkg_Strings.h b/toolsrc/include/vcpkg_Strings.h index a7c6148d7..5dd420232 100644 --- a/toolsrc/include/vcpkg_Strings.h +++ b/toolsrc/include/vcpkg_Strings.h @@ -36,6 +36,9 @@ namespace vcpkg::Strings::details namespace vcpkg::Strings { + static constexpr const CStringView EMPTY = ""; + static constexpr const CWStringView WEMPTY = L""; + template<class... Args> std::string format(const char* fmtstr, const Args&... args) { |
