diff options
author | zador <zador@yandex-team.ru> | 2022-02-10 16:49:59 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:59 +0300 |
commit | 4def7550a4a9107382d501b6fe9bcfcc3d765229 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /util/generic/algorithm.h | |
parent | c3dfc267b339ecc20e1395244bfadb9d8298819d (diff) | |
download | ydb-4def7550a4a9107382d501b6fe9bcfcc3d765229.tar.gz |
Restoring authorship annotation for <zador@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/generic/algorithm.h')
-rw-r--r-- | util/generic/algorithm.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/util/generic/algorithm.h b/util/generic/algorithm.h index a4782dea9d..badfb88993 100644 --- a/util/generic/algorithm.h +++ b/util/generic/algorithm.h @@ -559,7 +559,7 @@ template <class TI, class TOp> inline void ForEach(TI f, TI l, TOp op) { std::for_each(f, l, op); } - + namespace NPrivate { template <class T, class TOp, size_t... Is> constexpr bool AllOfImpl(T&& t, TOp&& op, std::index_sequence<Is...>) { @@ -624,9 +624,9 @@ constexpr ::TEnableIfTuple<T> ForEach(T&& t, TOp&& op) { } template <class T1, class T2, class O> -static inline void Transform(T1 b, T1 e, T2 o, O f) { +static inline void Transform(T1 b, T1 e, T2 o, O f) { std::transform(b, e, o, f); -} +} template <class T1, class T2, class T3, class O> static inline void Transform(T1 b1, T1 e1, T2 b2, T3 o, O f) { |