Struct Slice

Struct Documentation

struct Slice

Describes a slice into an array-like datastructure.

Public Members

int start = 0

start index of the slice

int end = std::numeric_limits<int>::max()

end index of the slice

int step = 1

step size when iterating through the slice