Contents

IndexSet.RangeView

A view of the contents of an IndexSet, organized by range.

Declaration

struct RangeView

Overview

For example, if an IndexSet is composed of: [1..<5] and [7..<10] and [13] then calling next() on this view’s iterator will produce 3 ranges before returning nil.

Topics

Counting Indexes

Testing for Inclusion in the Range

See Also

Getting a Range-Based View