struct TryFromIteratorUnwrapper
Declaration
template <class SourceIter>
struct TryFromIteratorUnwrapper { /* full declaration omitted */ };
Declared at: sus/iter/try_from_iterator.h:31
Templates
- SourceIter
Member Variables
- public SourceIter& iter
- public ::sus::Option<FromItem>& failure
Method Overview
- public constexpr TryFromIteratorUnwrapper<SourceIter>(SourceIter & iter, ::sus::Option<FromItem> & failure)
- public constexpr int next() noexcept
- public constexpr sus::iter::SizeHint size_hint() const noexcept
Methods
¶constexpr TryFromIteratorUnwrapper<SourceIter>(
SourceIter& iter,
::sus::Option<FromItem>& failure)
constexpr TryFromIteratorUnwrapper<SourceIter>(
SourceIter& iter,
::sus::Option<FromItem>& failure)
Declared at: sus/iter/try_from_iterator.h:38
Parameters
- SourceIter& iter
- ::sus::Option<FromItem>& failure
¶constexpr int next() noexcept
constexpr int next() noexcept
Declared at: sus/iter/try_from_iterator.h:42
¶constexpr sus::iter::SizeHint size_hint()
const noexcept
constexpr sus::iter::SizeHint size_hint()
const noexcept
Declared at: sus/iter/try_from_iterator.h:54