| 1400 | |
| 1401 | template <typename OutputIt, typename Char> |
| 1402 | FMT_NOINLINE OutputIt fill(OutputIt it, size_t n, const fill_t<Char>& fill) { |
| 1403 | auto fill_size = fill.size(); |
| 1404 | if (fill_size == 1) return std::fill_n(it, n, fill[0]); |
| 1405 | for (size_t i = 0; i < n; ++i) it = std::copy_n(fill.data(), fill_size, it); |
| 1406 | return it; |
| 1407 | } |
| 1408 | |
| 1409 | // This template provides operations for formatting and writing data into a |
| 1410 | // character range. |
no test coverage detected