[#BloombergLP-bslfmt-FormatterSpecificationNumericValue_ArgVisitor-operator_call-0cb] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslfmt.adoc[bslfmt]::xref:BloombergLP/bslfmt/FormatterSpecificationNumericValue_ArgVisitor.adoc[FormatterSpecificationNumericValue_ArgVisitor]::operator() :relfileprefix: ../../../ :mrdocs: Function call operators == Synopses Declared in `<bslfmt_formatterspecificationnumericvalue.h>` Throw an exception of type `format_error`. This indicates visitation of a `bsl::format` argument of boolean type, usually resulting from a user error such as calling `bsl::format("{:{}}", value, b)` where `b` is `bool`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:BloombergLP/bslfmt/FormatterSpecificationNumericValue_ArgVisitor/operator_call-02.adoc[operator()](bool) const; ---- [.small]#xref:BloombergLP/bslfmt/FormatterSpecificationNumericValue_ArgVisitor/operator_call-02.adoc[_» more..._]# Throw an exception of type `format_error`. This indicates visitation of an argument with no value, which would indicate a logic error. Note that this would only be called when extracting a value from a `basic_format_arg` that holds no value, which would normally indicate an incorrect argument type. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:BloombergLP/bslfmt/FormatterSpecificationNumericValue_ArgVisitor/operator_call-0e.adoc[operator()](std::monostate) const; ---- [.small]#xref:BloombergLP/bslfmt/FormatterSpecificationNumericValue_ArgVisitor/operator_call-0e.adoc[_» more..._]# Update the `FormatterSpecificationNumericValue` referenced by this visitor by setting its `category` attribute to `e_VALUE` and its `value` to the specified `value`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class t_TYPE> void xref:BloombergLP/bslfmt/FormatterSpecificationNumericValue_ArgVisitor/operator_call-0cc.adoc[operator()](t_TYPE value) const requires bsl::is_integral<t_TYPE>::value; ---- [.small]#xref:BloombergLP/bslfmt/FormatterSpecificationNumericValue_ArgVisitor/operator_call-0cc.adoc[_» more..._]# Throw an exception of type `format_error`. This indicates visitation of a `bsl::format` argument of non‐integral type, usually resulting from a user error such as calling `bsl::format("{:{}}", value, f)` where `f` has a floating point type. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class t_TYPE> void xref:BloombergLP/bslfmt/FormatterSpecificationNumericValue_ArgVisitor/operator_call-08.adoc[operator()](t_TYPE value) const requires !bsl::is_integral<t_TYPE>::value; ---- [.small]#xref:BloombergLP/bslfmt/FormatterSpecificationNumericValue_ArgVisitor/operator_call-08.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#