| 95 | //! Put N copies of a character to a stream. |
| 96 | template<typename Stream, typename Ch> |
| 97 | inline void PutN(Stream& stream, Ch c, size_t n) { |
| 98 | PutReserve(stream, n); |
| 99 | for (size_t i = 0; i < n; i++) |
| 100 | PutUnsafe(stream, c); |
| 101 | } |
| 102 | |
| 103 | /////////////////////////////////////////////////////////////////////////////// |
| 104 | // StringStream |
no test coverage detected