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

This `struct` serves as a namespace for static functions related to padding output by bslfmt&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class t&lowbar;CHAR&gt;
struct PadUtil;
----

== Type Aliases

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslfmt/PadUtil/Alignment.adoc[`Alignment`] 
| Alias for the parsed alignment enumerator type&period;
| xref:BloombergLP/bslfmt/PadUtil/Enums.adoc[`Enums`] 
| Alias for `FormatSpecificationParserEnums`&period;
| xref:BloombergLP/bslfmt/PadUtil/NumericValue.adoc[`NumericValue`] 
| Alias for `FormatterSpecificationNumericValue`&period;
|===


== Static Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslfmt/PadUtil/computePadding.adoc[`computePadding`] 
| Compute left and right padding for content within a field width&period;
| xref:BloombergLP/bslfmt/PadUtil/pad-0d.adoc[`pad`] 
| `pad` overloads
|===



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