[#BloombergLP-bslfmt-FormatterPointer_Nullptr]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslfmt.adoc[bslfmt]::FormatterPointer&lowbar;Nullptr
:relfileprefix: ../../
:mrdocs:

This struct is a specialization of the `bsl&colon;&colon;formatter` template for the `bsl&colon;&colon;nullptr&lowbar;t`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class t&lowbar;CHAR&gt;
struct FormatterPointer&lowbar;Nullptr
    : xref:BloombergLP/bslfmt/FormatterIntegralBase.adoc[FormatterIntegralBase&lt;bsl::nullptr&lowbar;t, t&lowbar;CHAR&gt;]
----

== Base Classes

[cols="1,4"]
|===
| Name| Description
| `xref:BloombergLP/bslfmt/FormatterIntegralBase.adoc[FormatterIntegralBase&lt;bsl::nullptr&lowbar;t, t&lowbar;CHAR&gt;]`
| This struct is a base class for `bsl&colon;&colon;formatter` specializations for integer types as well as for other types that can be represented as integer (i&period;e&period; `bool`, character and pointer types)&period; This is a private class and should not be used directly&period; The formatting of variables of a certain type is performed using the corresponding classes inherited from this one&period; Accordingly, the auxiliary functions used are declared protected&period;
|===

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslfmt/FormatterPointer_Nullptr/format.adoc[`format`] 
| Create string representation of the `bsl&colon;&colon;nullptr&lowbar;t` object, customized in accordance with the requested format and the specified `formatContext`, and copy it to the output that the output iterator of the `formatContext` points to&period;
| xref:BloombergLP/bslfmt/FormatterIntegralBase/formatPrefix.adoc[`formatPrefix`] 
| Create the prefix for output of the specified `value` and write it into the character buffer starting a the specified `prefixStorage` and having the specified `storageSize`&period; Return the address one past the last character&period; Throw `bsl&colon;&colon;format&lowbar;error` if parsed format specification is intended for non&hyphen;integer type&period;
| xref:BloombergLP/bslfmt/FormatterIntegralBase/formatValue.adoc[`formatValue`] 
| Create the string representation of the specified `value` and write it into the character buffer starting at the specified `valueStorage` and having the specified `storageSize`&period; Return the address one past the last character&period; Throw `bsl&colon;&colon;format&lowbar;error` if parsed format specification is intended for non&hyphen;integer type or the `value` is not in the range of representable values for the (template parameter) `t&lowbar;CHAR` with character type specification&period;
| xref:BloombergLP/bslfmt/FormatterIntegralBase/outputValue.adoc[`outputValue`] 
| Copy the prefix of value string representation starting at the specified `prefixBegin` and ending at the specified `prefixEnd` as well as representation itself starting at the specified `valueBegin` and ending at the specified `valueEnd` to the output that the output iterator of the `formatContext` points to&period; Throw `bsl&colon;&colon;format&lowbar;error` if parsed format specification states incorrect alignment type&period;
| xref:BloombergLP/bslfmt/FormatterIntegralBase/parse.adoc[`parse`] 
| Parse the specified `parseContext` and return an iterator, pointing to the beginning of the format string&period;
| xref:BloombergLP/bslfmt/FormatterIntegralBase/specification.adoc[`specification`] 
| Return a reference to the specification of this formatter&period;
|===



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