|
Agora
1.2.0
Agora project
|
#include <core.h>


Public Types | |
| using | char_type = Char |
| using | iterator = typename basic_string_view< Char >::iterator |
Public Member Functions | |
| constexpr | basic_format_parse_context (basic_string_view< Char > format_str, ErrorHandler eh={}, int next_arg_id=0) |
| constexpr auto | begin () const -> iterator throw () |
| constexpr auto | end () const -> iterator throw () |
| void | advance_to (iterator it) |
| auto | next_arg_id () -> int |
| void | check_arg_id (int) |
| void | check_arg_id (basic_string_view< Char >) |
| void | on_error (const char *message) |
| constexpr auto | error_handler () const -> ErrorHandler |
Private Attributes | |
| basic_string_view< Char > | format_str_ |
| int | next_arg_id_ |
Additional Inherited Members | |
Private Member Functions inherited from fmt::v8::detail::error_handler | |
| constexpr | error_handler ()=default |
| constexpr | error_handler (const error_handler &)=default |
| void | on_error (const char *message) |
\rst Parsing context consisting of a format string range being parsed and an argument counter for automatic indexing. You can use the format_parse_context type alias for char instead. \endrst
| using fmt::v8::basic_format_parse_context< Char, ErrorHandler >::char_type = Char |
| using fmt::v8::basic_format_parse_context< Char, ErrorHandler >::iterator = typename basic_string_view<Char>::iterator |
|
inlineexplicitconstexpr |
|
inline |
Advances the begin iterator to it.

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

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

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

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

|
inline |

|
private |
|
private |