aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/yt/misc/enum.h
diff options
context:
space:
mode:
authorbabenko <babenko@yandex-team.com>2023-08-19 10:27:17 +0300
committerbabenko <babenko@yandex-team.com>2023-08-19 12:16:04 +0300
commit24a7c2b976da9a1b85a80266ac05b39757ec8629 (patch)
tree795ad7a0ad2d588515bd73acd090b964e0075420 /library/cpp/yt/misc/enum.h
parent03a33873367161c1cd33401c8ad8da49349c4272 (diff)
downloadydb-24a7c2b976da9a1b85a80266ac05b39757ec8629.tar.gz
YT-18571: Replace NYT::ToUnderlying with ::ToUnderlying from util/generic/cast.h
Diffstat (limited to 'library/cpp/yt/misc/enum.h')
-rw-r--r--library/cpp/yt/misc/enum.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/library/cpp/yt/misc/enum.h b/library/cpp/yt/misc/enum.h
index b6e19b9ef8b..a881f229417 100644
--- a/library/cpp/yt/misc/enum.h
+++ b/library/cpp/yt/misc/enum.h
@@ -228,11 +228,6 @@ private:
////////////////////////////////////////////////////////////////////////////////
-//! Replace with |std::to_underlying| in C++23.
-template <typename E>
- requires std::is_enum_v<E>
-constexpr std::underlying_type_t<E> ToUnderlying(E value) noexcept;
-
//! Returns |true| iff the enumeration value is not bitwise zero.
template <typename E>
requires TEnumTraits<E>::IsBitEnum