[#BloombergLP-bslfmt-PadUtil-pad-07]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslfmt.adoc[bslfmt]::xref:BloombergLP/bslfmt/PadUtil.adoc[PadUtil]::pad
:relfileprefix: ../../../
:mrdocs:

Write `padWidth` copies of `filler` through the specified output iterator&period; Write `padWidth` copies of the specified single&hyphen;character `filler`&period; Write `padWidth` copies of the specified single&hyphen;character `filler`&period;

== Synopsis

Declared in `&lt;bslfmt&lowbar;padutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class t&lowbar;ITERATOR&gt;
static
t&lowbar;ITERATOR
pad(
    t&lowbar;ITERATOR out,
    std::ptrdiff&lowbar;t padWidth,
    char filler);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
