Check that the specified argument index is valid and enter manual indexing mode.

Synopsis

Declared in <bslfmt_mockparsecontext.h>

constexpr
void
check_arg_id(size_t id);

Description

Throw bslfmt::format_error if this object has already entered automatic indexing mode, or if id is not less than the number of arguments.

Parameters

Name

Description

id

argument index to validate

Created with MrDocs