aboutsummaryrefslogtreecommitdiffstats
path: root/yt/yt/core/misc/range_formatters-inl.h
blob: 7dba39874f191a65fbfb1567e34d5e865dbc8bee (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
#ifndef RANGE_FORMATTERS_INL_H_
#error "Direct inclusion of this file is not allowed, include range_formatters.h"
// For the sake of sane code completion.
#include "range_formatters.h"
#endif

namespace NYT {

////////////////////////////////////////////////////////////////////////////////

template <class T>
void FormatValue(TStringBuilderBase* builder, const TRange<T>& collection, TStringBuf /*spec*/)
{
    NYT::FormatRange(builder, collection, TDefaultFormatter());
}

template <class T>
void FormatValue(TStringBuilderBase* builder, const TSharedRange<T>& collection, TStringBuf /*spec*/)
{
    NYT::FormatRange(builder, collection, TDefaultFormatter());
}

////////////////////////////////////////////////////////////////////////////////

} // namespace NYT