diff options
author | alexanderplat <alexanderplat@yandex-team.ru> | 2022-02-10 16:50:48 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:48 +0300 |
commit | e7c30eecd571c69c5b7395fd66ff676f65f93cc7 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp | |
parent | 12a55ee3841460c4a0b2092368585a28067f85b3 (diff) | |
download | ydb-e7c30eecd571c69c5b7395fd66ff676f65f93cc7.tar.gz |
Restoring authorship annotation for <alexanderplat@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp')
-rw-r--r-- | library/cpp/yt/misc/enum.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/library/cpp/yt/misc/enum.h b/library/cpp/yt/misc/enum.h index be5ac19060..894364aa43 100644 --- a/library/cpp/yt/misc/enum.h +++ b/library/cpp/yt/misc/enum.h @@ -22,15 +22,15 @@ namespace NYT { * (unittests/enum_ut.cpp). */ -// Actual overload must be provided with defines DEFINE_ENUM_XXX (see below). -template <class T> -void GetEnumTraitsImpl(T); - +// Actual overload must be provided with defines DEFINE_ENUM_XXX (see below). +template <class T> +void GetEnumTraitsImpl(T); + template < class T, - bool = std::is_enum<T>::value && - !std::is_convertible<T, int>::value && - !std::is_same<void, decltype(GetEnumTraitsImpl(T()))>::value + bool = std::is_enum<T>::value && + !std::is_convertible<T, int>::value && + !std::is_same<void, decltype(GetEnumTraitsImpl(T()))>::value > struct TEnumTraits { |