aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-08-28 18:54:48 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2017-08-28 19:54:01 -0700
commitf3d803addfb3d84d828786d2e6b0b8a34f2fc494 (patch)
treead0dd1761993230746cc6e1c3aada8a1b0f9fd02 /toolsrc/include
parent7d46adb47ca332a072ffb382e4a533aa68a17062 (diff)
downloadvcpkg-f3d803addfb3d84d828786d2e6b0b8a34f2fc494.tar.gz
vcpkg-f3d803addfb3d84d828786d2e6b0b8a34f2fc494.zip
Introduce Strings::is_empty()
Diffstat (limited to 'toolsrc/include')
-rw-r--r--toolsrc/include/vcpkg_Strings.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/toolsrc/include/vcpkg_Strings.h b/toolsrc/include/vcpkg_Strings.h
index 5dd420232..5af7c6f7c 100644
--- a/toolsrc/include/vcpkg_Strings.h
+++ b/toolsrc/include/vcpkg_Strings.h
@@ -39,6 +39,9 @@ namespace vcpkg::Strings
static constexpr const CStringView EMPTY = "";
static constexpr const CWStringView WEMPTY = L"";
+ bool is_empty(const CStringView s);
+ bool is_empty(const CWStringView s);
+
template<class... Args>
std::string format(const char* fmtstr, const Args&... args)
{