diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-05-04 15:19:22 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-05-04 15:19:22 -0700 |
| commit | 05b47002ebbf99561476564cb9dfe1869cb79c7c (patch) | |
| tree | d087bbd7cf5ee058f56f9ab93c0e89835216f5ab /toolsrc/include | |
| parent | 7bdf189a921fdee47044e907a3ff48ce8c880fe2 (diff) | |
| download | vcpkg-05b47002ebbf99561476564cb9dfe1869cb79c7c.tar.gz vcpkg-05b47002ebbf99561476564cb9dfe1869cb79c7c.zip | |
Introduce Strings::case_insensitive_ascii_compare()
Diffstat (limited to 'toolsrc/include')
| -rw-r--r-- | toolsrc/include/vcpkg_Strings.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/toolsrc/include/vcpkg_Strings.h b/toolsrc/include/vcpkg_Strings.h index 640c639ce..3f8f4562e 100644 --- a/toolsrc/include/vcpkg_Strings.h +++ b/toolsrc/include/vcpkg_Strings.h @@ -54,6 +54,8 @@ namespace vcpkg::Strings std::string::const_iterator case_insensitive_ascii_find(const std::string& s, const std::string& pattern); + int case_insensitive_ascii_compare(const CStringView left, const CStringView right); + std::string ascii_to_lowercase(const std::string& input); template<class T, class Transformer, class CharType> |
