template <typename Range, typename... Args>
scn::v3::scan_result class

Type returned by scan, contains the unused input as a subrange, and the scanned values in a tuple.

Public functions

auto begin() const →  auto
The beginning of the unused source range.
auto end() const →  auto
The end of the unused source range.
auto range() const →  range_type
Access the ununsed source range.
template <size_t N = sizeof...(Args), std::enable_if_t<N==1>* = nullptr>
auto value() & →  decltype(auto)
Access the single scanned value.
template <size_t N = sizeof...(Args), std::enable_if_t<N==1>* = nullptr>
auto value() const & →  decltype(auto)
Access the single scanned value.
template <size_t N = sizeof...(Args), std::enable_if_t<N==1>* = nullptr>
auto value() && →  decltype(auto)
Access the single scanned value.
template <size_t N = sizeof...(Args), std::enable_if_t<N==1>* = nullptr>
auto value() const && →  decltype(auto)
Access the single scanned value.
auto values() & →  tuple_type&
Access the scanned values.
auto values() const & →  const tuple_type&
Access the scanned values.
auto values() && →  tuple_type&&
Access the scanned values.
auto values() const && →  const tuple_type&&
Access the scanned values.