diff options
| author | eshcherbin <[email protected]> | 2025-02-03 10:23:16 +0300 | 
|---|---|---|
| committer | eshcherbin <[email protected]> | 2025-02-03 10:35:19 +0300 | 
| commit | c5ac5b79af1a34b914ac67de302f86744e23856b (patch) | |
| tree | 4e60b970466670d7599579a12338bb136b193271 /library/cpp/yt/string/format-inl.h | |
| parent | 6f9ffcd3daddd441911cbc0f35143aff80f044de (diff) | |
Make TCompactFlatMap formattable
commit_hash:e5c092a9d0375881554f1d3bc905c662070956bf
Diffstat (limited to 'library/cpp/yt/string/format-inl.h')
| -rw-r--r-- | library/cpp/yt/string/format-inl.h | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/library/cpp/yt/string/format-inl.h b/library/cpp/yt/string/format-inl.h index 83d61986745..22da423f893 100644 --- a/library/cpp/yt/string/format-inl.h +++ b/library/cpp/yt/string/format-inl.h @@ -11,6 +11,7 @@  #include <library/cpp/yt/assert/assert.h>  #include <library/cpp/yt/compact_containers/compact_vector.h> +#include <library/cpp/yt/compact_containers/compact_flat_map.h>  #include <library/cpp/yt/containers/enum_indexed_array.h> @@ -163,6 +164,10 @@ template <class... Ts>  constexpr bool CKnownKVRange<THashMap<Ts...>> = true;  template <class... Ts>  constexpr bool CKnownKVRange<THashMultiMap<Ts...>> = true; +template <class... Ts> +constexpr bool CKnownKVRange<TCompactFlatMap<Ts...>> = true; +template <class K, class V, size_t N> +constexpr bool CKnownKVRange<TCompactFlatMap<K, V, N>> = true;  // TODO(arkady-e1ppa): Uncomment me when  // https://github.com/llvm/llvm-project/issues/58534 is shipped. | 
