Content deleted Content added
m →Range of an array: fixed {Main} link |
m Disambiguated: array → array data structure using Dab solver |
||
Line 2:
In [[computer science]], the term '''range''' may refer to one of three things:
# The possible values that may be stored in a [[variable (programming)|variable]].
# The upper and lower bounds of an [[array data structure|array]].
# An alternative to [[iterator]].
Line 14:
== Range as an alternative to iterator ==
Another meaning of ''range'' in computer science is an alternative to [[iterator]]. When used in this sense, range is defined as "a pair of begin/end iterators packed together" <ref name="itersmustgo">{{
| author = [[Andrei Alexandrescu]]
| title = Iterators Must Go
|