23 Ranges library [ranges]

23.7 Range factories [range.factories]

23.7.3 Iota view [range.iota]

23.7.3.1 Overview [range.iota.overview]

iota_­view generates a sequence of elements by repeatedly incrementing an initial value.
[Example
:
for (int i : iota_view{1, 10})
  cout << i << ' '; // prints: 1 2 3 4 5 6 7 8 9
end example
]