Function call operators

Synopses

Declared in <bslfmt_formatterspecificationnumericvalue.h>

Throw format_error when visiting a boolean format argument.

void
operator()(bool value) const;

Throw format_error when visiting an empty format argument.

void
operator()(std::monostate value) const;

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;

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;

Parameters

Name

Description

value

boolean argument that is not a valid nested numeric value

Created with MrDocs