summaryrefslogtreecommitdiffstats
path: root/library/cpp/yt/string/unittests/enum_ut.cpp
diff options
context:
space:
mode:
authorbabenko <[email protected]>2024-01-25 19:09:19 +0300
committerAlexander Smirnov <[email protected]>2024-01-26 20:49:16 +0300
commit97a6113075180982290fb695fd24a666d2b7ceac (patch)
tree969b6c9e2246058d03b0d5c107a7f9c31c9c1046 /library/cpp/yt/string/unittests/enum_ut.cpp
parent8f02fda318bb8a50e1712350512d4cb82fff229b (diff)
Introduce TEnumIndexedArray as a refurbished version of TEnumIndexedVector
Diffstat (limited to 'library/cpp/yt/string/unittests/enum_ut.cpp')
-rw-r--r--library/cpp/yt/string/unittests/enum_ut.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/cpp/yt/string/unittests/enum_ut.cpp b/library/cpp/yt/string/unittests/enum_ut.cpp
index 4059b3d2e63..91a8b045006 100644
--- a/library/cpp/yt/string/unittests/enum_ut.cpp
+++ b/library/cpp/yt/string/unittests/enum_ut.cpp
@@ -13,6 +13,7 @@ namespace {
// Some compile-time sanity checks.
DEFINE_ENUM(ESample, (One)(Two));
static_assert(TFormatTraits<ESample>::HasCustomFormatValue);
+static_assert(TFormatTraits<TEnumIndexedArray<ESample, int>>::HasCustomFormatValue);
static_assert(TFormatTraits<TEnumIndexedVector<ESample, int>>::HasCustomFormatValue);
DEFINE_ENUM(EColor,