template <typename CharT>
scn::basic_scan_parse_context class

Format string parsing context, wrapping the format string being parsed, and a counter for argument indexing.

Derived classes

template <typename CharT>
class compile_parse_context
Parse context with extra data used only for compile-time checks.

Constructors, destructors, conversion operators

basic_scan_parse_context(std::basic_string_view<CharT> format, int next_arg_id = 0) explicit constexpr

Public functions

void advance_to(iterator it) constexpr
Advance the beginning of the format string to it
auto begin() const →  auto constexpr noexcept
Returns an iterator pointing to the beginning of the format string.
auto end() const →  auto constexpr noexcept
Returns an iterator pointing to the end of the format string.

Function documentation

template <typename CharT>
scn::basic_scan_parse_context::basic_scan_parse_context(std::basic_string_view<CharT> format, int next_arg_id = 0) explicit constexpr

Construct a basic_scan_parse_context over a format string format.