Write a wide‐string filler to out the specified padWidth times.

Synopsis

Declared in <bslfmt_padutil.h>

template<class t_ITERATOR>
static
t_ITERATOR
pad(
    t_ITERATOR out,
    std::ptrdiff_t padWidth,
    std::wstring_view const& filler);

Description

Same as the preceding pad overload, for wide string fillers.

Return Value

the output iterator after writing the filler repetitions

Parameters

Name

Description

out

output iterator receiving the filler repetitions

padWidth

number of times to write filler; no output if < 0

filler

wide character sequence written as each padding unit

Created with MrDocs