Function pad
Synopsis
#include "breeze/stream/inserter.hpp"
void pad(std::streamsize count)
Description
- Parameters
count
- The number of characters to be output.
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.)
Source
Line 143 in breeze/stream/inserter.hpp.