The OpenD Programming Language

mir_slice.iterator

Iterator

struct mir_slice(Iterator_, size_t N_ = 1, SliceKind kind_ = Contiguous, Labels_...)
inout return scope @property
iterator
()
()
if (
0 < N_ &&
N_ < 255
&&
!(
kind_ == Canonical &&
N_ == 1
)
&&
Labels_.length <= N_
&&
isIterator!Iterator_
)

Return Value

Type: auto

Iterator (pointer) to the .Slice.first element.

Meta