aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-10-01 13:22:29 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2017-10-01 13:22:29 -0700
commit2de9f83ff22774d0f70e3ee8158b26c494f5ea30 (patch)
treeb51023478e4ee413edc999ff458d270b7349e0da /toolsrc/include
parent53d5076f64daa08c18802fda1b7bf8e100109103 (diff)
downloadvcpkg-2de9f83ff22774d0f70e3ee8158b26c494f5ea30.tar.gz
vcpkg-2de9f83ff22774d0f70e3ee8158b26c494f5ea30.zip
Introduce Strings::case_insensitive_ascii_starts_with();
Diffstat (limited to 'toolsrc/include')
-rw-r--r--toolsrc/include/vcpkg_Strings.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/toolsrc/include/vcpkg_Strings.h b/toolsrc/include/vcpkg_Strings.h
index 61f6fab61..c44ce2b99 100644
--- a/toolsrc/include/vcpkg_Strings.h
+++ b/toolsrc/include/vcpkg_Strings.h
@@ -65,6 +65,8 @@ namespace vcpkg::Strings
std::string ascii_to_lowercase(const std::string& input);
+ bool case_insensitive_ascii_starts_with(const std::string& s, const std::string& pattern);
+
template<class Container, class Transformer, class CharType>
std::basic_string<CharType> join(const CharType* delimiter, const Container& v, Transformer transformer)
{