diff options
author | yazevnul <yazevnul@yandex-team.ru> | 2022-02-10 16:46:46 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:46 +0300 |
commit | 8cbc307de0221f84c80c42dcbe07d40727537e2c (patch) | |
tree | 625d5a673015d1df891e051033e9fcde5c7be4e5 /util/string/vector.h | |
parent | 30d1ef3941e0dc835be7609de5ebee66958f215a (diff) | |
download | ydb-8cbc307de0221f84c80c42dcbe07d40727537e2c.tar.gz |
Restoring authorship annotation for <yazevnul@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/string/vector.h')
-rw-r--r-- | util/string/vector.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/util/string/vector.h b/util/string/vector.h index e36c348bbe..fce7e4ab00 100644 --- a/util/string/vector.h +++ b/util/string/vector.h @@ -1,14 +1,14 @@ #pragma once -#include "cast.h" +#include "cast.h" #include "split.h" - + #include <util/generic/map.h> -#include <util/generic/strbuf.h> +#include <util/generic/strbuf.h> #include <util/generic/string.h> #include <util/generic/vector.h> #include <util/string/cast.h> -#include <util/system/yassert.h> +#include <util/system/yassert.h> #define KEEP_EMPTY_TOKENS 0x01 @@ -120,8 +120,8 @@ inline TString JoinVectorIntoString(const TVector<T>& v, size_t index, size_t co TUtf16String JoinStrings(const TVector<TUtf16String>& v, const TWtringBuf delim); TUtf16String JoinStrings(const TVector<TUtf16String>& v, size_t index, size_t count, const TWtringBuf delim); -//! Converts vector of strings to vector of type T variables -template <typename T, typename TStringType> +//! Converts vector of strings to vector of type T variables +template <typename T, typename TStringType> TVector<T> Scan(const TVector<TStringType>& input) { TVector<T> output; output.reserve(input.size()); |