Range (computer programming): Difference between revisions

Content deleted Content added
m Disambiguated: arrayarray data structure using Dab solver
Oppose DAB resolution, as current wording applies to both meanings of Array; it probably indicates that split of Array in two wasn't a good idea, but this is a different story
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">{{citeCite web
| author = [[Andrei Alexandrescu]]
| title = Iterators Must Go