diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2016-11-02 19:34:30 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2016-11-02 19:34:30 -0700 |
| commit | 87a78a78dcb88d1656eda5dcbdf306fb55eba575 (patch) | |
| tree | 9495fbc0a39151c5e04bfc03b791b20468ae4252 /toolsrc/include | |
| parent | 8a97f05d92a34589e1cf87865d0e0b5394ac05b3 (diff) | |
| download | vcpkg-87a78a78dcb88d1656eda5dcbdf306fb55eba575.tar.gz vcpkg-87a78a78dcb88d1656eda5dcbdf306fb55eba575.zip | |
[Strings] Add join()
Diffstat (limited to 'toolsrc/include')
| -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 70526198c..d55a01224 100644 --- a/toolsrc/include/vcpkg_Strings.h +++ b/toolsrc/include/vcpkg_Strings.h @@ -1,6 +1,7 @@ #pragma once #include <string> +#include <vector> namespace vcpkg {namespace Strings {namespace details { @@ -67,4 +68,6 @@ namespace vcpkg {namespace Strings std::string::const_iterator case_insensitive_ascii_find(const std::string& s, const std::string& pattern); std::string ascii_to_lowercase(const std::string& input); + + std::string join(const std::vector<std::string>& v, const std::string& delimiter); }} |
