Function pad


#include "breeze/stream/inserter.hpp"

void pad(std::streamsize count)



count - The number of characters to be output.

If the destination stream converts to true (i.e. if ! fail()), outputs count times the fill character of the destination stream, using either sputc() or sputn(), setting badbit (which may throw) if it is unable to.

The number of characters may be zero, or even negative, in which case nothing is output. (Roughly speaking, the idea is to be able to pass something like stream.width() - generated.count as an argument.)


Line 143 in breeze/stream/inserter.hpp.