blob: 3ebeff170615a7cc4dfeba3ae8dd8524e1e36416 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#pragma once
#include <library/cpp/yt/string/format.h>
#include <library/cpp/yt/memory/range.h>
#include <library/cpp/yt/memory/shared_range.h>
namespace NYT {
////////////////////////////////////////////////////////////////////////////////
template <class T>
void FormatValue(TStringBuilderBase* builder, const TRange<T>& collection, TStringBuf /*spec*/);
template <class T>
void FormatValue(TStringBuilderBase* builder, const TSharedRange<T>& collection, TStringBuf /*spec*/);
template <std::ranges::view T>
void FormatValue(TStringBuilderBase* builder, const T& collection, TStringBuf /*spec*/);
////////////////////////////////////////////////////////////////////////////////
} // namespace NYT
#define RANGE_FORMATTERS_INL_H_
#include "range_formatters-inl.h"
#undef RANGE_FORMATTERS_INL_H_
|