BloombergLP::bslfmt::FormatterSpecificationNumericValue_ArgVisitor::operator()

Function call operators

Synopses

Declared in <bslfmt_formatterspecificationnumericvalue.h>

Throw format_error when visiting a boolean format argument.

void
operator()(bool value) const;
» more...

Throw format_error when visiting an empty format argument.

void
operator()(std::monostate value) const;
» more...

Update the FormatterSpecificationNumericValue referenced by this visitor by setting its category attribute to e_VALUE and its value to the specified value.

template<class t_TYPE>
void
operator()(t_TYPE value) const
requires bsl::is_integral<t_TYPE>::value;
» more...

Throw format_error when visiting a non-integral format argument.

template<class t_TYPE>
void
operator()(t_TYPE value) const
requires !bsl::is_integral<t_TYPE>::value;
» more...

Parameters

NameDescription
valueboolean argument that is not a valid nested numeric value