Throw format_error when visiting a boolean format argument.
Declared in <bslfmt_formatterspecificationnumericvalue.h>
void
operator()(bool value) const;
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.
| Name | Description |
|---|---|
| value | boolean argument that is not a valid nested numeric value |