template <typename Context>
scn::basic_scan_args class

A view over a collection of scanning arguments (scan_arg_store).

Passed to scn::vscan, where it's automatically constructed from a scan_arg_store.

Public functions

auto get(std::size_t id) const →  basic_scan_arg<Context> constexpr
auto size() const →  std::size_t constexpr

Function documentation

template <typename Context>
basic_scan_arg<Context> scn::basic_scan_args::get(std::size_t id) const constexpr

Returns basic_scan_arg at index id. Empty basic_scan_arg if there's no argument at index id.

template <typename Context>
std::size_t scn::basic_scan_args::size() const constexpr

Returns Number of arguments in *this.