MCPcopy Create free account
hub / github.com/catboost/catboost / FormatOld

Function FormatOld

library/cpp/yt/string/format-inl.h:1262–1270  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1260// For benchmarking purposes.
1261template <class... TArgs>
1262TString FormatOld(TFormatString<TArgs...> format, TArgs&&... args)
1263{
1264 TStringBuilder builder;
1265 if constexpr ((CFormattable<TArgs> && ...)) {
1266 NYT::NDetail::TValueFormatter<0, TArgs...> formatter(args...);
1267 NYT::NDetail::RunFormatterFullScan(&builder, format.Get(), formatter);
1268 }
1269 return builder.Flush();
1270}
1271
1272} // namespace NDetail
1273

Callers

nothing calls this directly

Calls 3

RunFormatterFullScanFunction · 0.85
GetMethod · 0.45
FlushMethod · 0.45

Tested by

no test coverage detected