[#BloombergLP-bslfmt-FormatterSpecificationNumericValue_ArgVisitor-operator_call-0cb]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslfmt.adoc[bslfmt]::xref:BloombergLP/bslfmt/FormatterSpecificationNumericValue_ArgVisitor.adoc[FormatterSpecificationNumericValue&lowbar;ArgVisitor]::operator()
:relfileprefix: ../../../
:mrdocs:

Function call operators

== Synopses

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

Throw `format&lowbar;error` when visiting a boolean format argument&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:BloombergLP/bslfmt/FormatterSpecificationNumericValue_ArgVisitor/operator_call-02.adoc[operator()](bool value) const;
----

[.small]#xref:BloombergLP/bslfmt/FormatterSpecificationNumericValue_ArgVisitor/operator_call-02.adoc[_» more&period;&period;&period;_]#

Throw `format&lowbar;error` when visiting an empty format argument&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:BloombergLP/bslfmt/FormatterSpecificationNumericValue_ArgVisitor/operator_call-0e.adoc[operator()](std::monostate value) const;
----

[.small]#xref:BloombergLP/bslfmt/FormatterSpecificationNumericValue_ArgVisitor/operator_call-0e.adoc[_» more&period;&period;&period;_]#

Update the `FormatterSpecificationNumericValue` referenced by this visitor by setting its `category` attribute to `e&lowbar;VALUE` and its `value` to the specified `value`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class t&lowbar;TYPE&gt;
void
xref:BloombergLP/bslfmt/FormatterSpecificationNumericValue_ArgVisitor/operator_call-0cc.adoc[operator()](t&lowbar;TYPE value) const
requires bsl&colon;&colon;is&lowbar;integral&lt;t&lowbar;TYPE&gt;&colon;&colon;value;
----

[.small]#xref:BloombergLP/bslfmt/FormatterSpecificationNumericValue_ArgVisitor/operator_call-0cc.adoc[_» more&period;&period;&period;_]#

Throw `format&lowbar;error` when visiting a non&hyphen;integral format argument&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class t&lowbar;TYPE&gt;
void
xref:BloombergLP/bslfmt/FormatterSpecificationNumericValue_ArgVisitor/operator_call-08.adoc[operator()](t&lowbar;TYPE value) const
requires !bsl&colon;&colon;is&lowbar;integral&lt;t&lowbar;TYPE&gt;&colon;&colon;value;
----

[.small]#xref:BloombergLP/bslfmt/FormatterSpecificationNumericValue_ArgVisitor/operator_call-08.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *value*
| boolean argument that is not a valid nested numeric value
|===


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