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