Parsing context consisting of a format string range being parsed and an argument counter for automatic indexing.

Synopsis

Declared in <fmt/base.h>

template<typename Char = char>
class parse_context;

Types

Member Functions

Name

Description

parse_context [constructor]

advance_to

Advances the begin iterator to it.

begin

Returns an iterator to the beginning of the format string range being parsed.

check_arg_id

Reports an error if using the automatic argument indexing; otherwise switches to the manual indexing.

check_dynamic_spec

end

Returns an iterator past the end of the format string range being parsed.

next_arg_id

Reports an error if using the manual argument indexing; otherwise returns the next argument index and switches to the automatic indexing.

Created with MrDocs