diff options
author | arkady-e1ppa <arkady-e1ppa@yandex-team.com> | 2024-05-08 15:57:02 +0300 |
---|---|---|
committer | arkady-e1ppa <arkady-e1ppa@yandex-team.com> | 2024-05-08 16:07:56 +0300 |
commit | 1e4e9bda1dec7dbc595590b4c8f1beba4b7b80e2 (patch) | |
tree | f0d03324147511468252eed1499894a648ecf704 /library/cpp/yt/misc/concepts.h | |
parent | 5f029c51f3ec2f729aad5cf3d24044f44187e085 (diff) | |
download | ydb-1e4e9bda1dec7dbc595590b4c8f1beba4b7b80e2.tar.gz |
Revert YT-21310: Introduce CYsonStructSource to remove code duplication in TYsonStruct implementation
Revert "YT-21310: Introduce CYsonStructSource to remove code duplication in TYsonStruct implementation"
This reverts commit b5dbf4de1df8156e23176662e15b167361fddb19, reversing
changes made to 5ab2a4add3801f5d310e76bf9ba496342d2b765a.
1f84c055d6e4df384230688c946a45dd6351a386
Diffstat (limited to 'library/cpp/yt/misc/concepts.h')
-rw-r--r-- | library/cpp/yt/misc/concepts.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/library/cpp/yt/misc/concepts.h b/library/cpp/yt/misc/concepts.h index 5b84bac905..976c707ffe 100644 --- a/library/cpp/yt/misc/concepts.h +++ b/library/cpp/yt/misc/concepts.h @@ -1,7 +1,6 @@ #pragma once #include <concepts> -#include <vector> namespace NYT { @@ -47,19 +46,4 @@ concept CInvocable = NDetail::TIsInvocable<T, TSignature>::Value; //////////////////////////////////////////////////////////////////////////////// -template <class V> -concept CStdVector = requires (V& vec) { - [] <class... T> (std::vector<T...>&) { } (vec); -}; - -//////////////////////////////////////////////////////////////////////////////// - -template <class M> -concept CAnyMap = requires { - typename M::mapped_type; - typename M::key_type; -}; - -//////////////////////////////////////////////////////////////////////////////// - } // namespace NYT |