pad overloads
Declared in <bslfmt_padutil.h>
Write padWidth copies of a single-character filler through out.
template<class t_ITERATOR>
static
t_ITERATOR
pad(
t_ITERATOR out,
std::ptrdiff_t padWidth,
char filler);
» more...
Write padWidth copies of a single wide-character filler through out.
template<class t_ITERATOR>
static
t_ITERATOR
pad(
t_ITERATOR out,
std::ptrdiff_t padWidth,
wchar_t filler);
» more...
Write filler to out the specified padWidth times.
template<class t_ITERATOR>
static
t_ITERATOR
pad(
t_ITERATOR out,
std::ptrdiff_t padWidth,
std::string_view const& filler);
» more...
Write a wide-string filler to out the specified padWidth times.
template<class t_ITERATOR>
static
t_ITERATOR
pad(
t_ITERATOR out,
std::ptrdiff_t padWidth,
std::wstring_view const& filler);
» more...
the output iterator after writing the filler repetitions
| Name | Description |
|---|---|
| out | output iterator receiving the filler repetitions |
| padWidth | number of times to write filler; no output if < 0 |
| filler | single character written as each padding unit |