Parse context for use by formatter::parse() specializations.
Declared in <bslfmt_formatparsecontext.h>
template<class t_CHAR>
class basic_format_parse_context;
Provides access to iterators for the start and end of the remaining (unparsed) format string, as well as argument counters.
| Name | Description |
|---|---|
char_type | This typedef is an alias for the character type t_CHAR. |
const_iterator | This typedef is an alias for a constant iterator over the format string. |
iterator | This typedef is an alias for const_iterator. |
| Name | Description |
|---|---|
basic_format_parse_context [constructor] | Constructors |
advance_to | Advance the unparsed-portion iterator to the specified position. |
begin | Return an iterator to the start of the unparsed portion of the format string. |
check_arg_id | Check that the specified argument index is valid. |
end | Return an iterator to the end of the format string. |
next_arg_id | Return the index of the next unused argument. |