Check that the specified argument index is valid and enter manual indexing mode.
Declared in <bslfmt_mockparsecontext.h>
constexpr
void
check_arg_id(size_t id);
Throw bslfmt::format_error if this object has already entered automatic indexing mode, or if id is not less than the number of arguments.
| Name | Description |
|---|---|
| id | argument index to validate |