ProtocolCxx5.9.0
UnsafeCxxInputIterator
Bridged C++ iterator that allows to traverse the elements of a sequence using a for-in loop.
protocol UnsafeCxxInputIterator : Equatable
Mostly useful for conforming a type to the CxxSequence
protocol and should not generally be used directly.
Supertypes
protocol Equatable
A type that can be compared for value equality.
Requirements
associatedtype Pointee
var pointee: Self.Pointee
Returns the unwrapped result of C++
operator*()
.func successor(
) -> Self Returns an iterator pointing to the next item in the sequence.
Citizens in Cxx
Subtypes
protocol UnsafeCxxRandomAccessIterator
Bridged C++ iterator that allows computing the distance between two of its instances, and advancing an instance by a given number of elements.