template <typename Range, typename... Args>
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::auto value() & → decltype(auto)
enable_if_t<N==1>* = nullptr> - Access the single scanned value.
-
template <size_t N = sizeof...(Args), std::auto value() const & → decltype(auto)
enable_if_t<N==1>* = nullptr> - Access the single scanned value.
-
template <size_t N = sizeof...(Args), std::auto value() && → decltype(auto)
enable_if_t<N==1>* = nullptr> - Access the single scanned value.
-
template <size_t N = sizeof...(Args), std::auto value() const && → decltype(auto)
enable_if_t<N==1>* = nullptr> - 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.