diff options
author | max42 <max42@yandex-team.com> | 2023-06-30 11:13:34 +0300 |
---|---|---|
committer | max42 <max42@yandex-team.com> | 2023-06-30 11:13:34 +0300 |
commit | 3e1899838408bbad47622007aa382bc8a2b01f87 (patch) | |
tree | 0f21c1e6add187ddb6c3ccc048a7d640ce03fb87 /library/cpp/skiff/skiff-inl.h | |
parent | 5463eb3f5e72a86f858a3d27c886470a724ede34 (diff) | |
download | ydb-3e1899838408bbad47622007aa382bc8a2b01f87.tar.gz |
Revert "YT-19324: move YT provider to ydb/library/yql"
This reverts commit ca272f12fdd0e8d5c3e957fc87939148f1caaf72, reversing
changes made to 49f8acfc8b0b5c0071b804423bcf53fda26c7c12.
Diffstat (limited to 'library/cpp/skiff/skiff-inl.h')
-rw-r--r-- | library/cpp/skiff/skiff-inl.h | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/library/cpp/skiff/skiff-inl.h b/library/cpp/skiff/skiff-inl.h deleted file mode 100644 index a3f68a9374..0000000000 --- a/library/cpp/skiff/skiff-inl.h +++ /dev/null @@ -1,39 +0,0 @@ -#pragma once - -#ifndef SKIFF_H -#error "Direct inclusion of this file is not allowed, include skiff.h" -// For the sake of sane code completion. -#include "skiff.h" -#endif -#undef SKIFF_H - -namespace NSkiff { - -//////////////////////////////////////////////////////////////////////////////// - -template <EWireType wireType> -constexpr auto TUnderlyingIntegerType<wireType>::F() { - if constexpr (wireType == EWireType::Int8) { - return i8{}; - } else if constexpr (wireType == EWireType::Int16) { - return i16{}; - } else if constexpr (wireType == EWireType::Int32) { - return i32{}; - } else if constexpr (wireType == EWireType::Int64) { - return i64{}; - } else if constexpr (wireType == EWireType::Uint8) { - return ui8{}; - } else if constexpr (wireType == EWireType::Uint16) { - return ui16{}; - } else if constexpr (wireType == EWireType::Uint32) { - return ui32{}; - } else if constexpr (wireType == EWireType::Uint64) { - return ui64{}; - } else { - static_assert(wireType == EWireType::Int8, "expected integer wire type"); - } -} - -//////////////////////////////////////////////////////////////////////////////// - -} // namespace NSkiff |