| 1260 | // For benchmarking purposes. |
| 1261 | template <class... TArgs> |
| 1262 | TString 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 |
nothing calls this directly
no test coverage detected