Use of Slices as Ranges
You will learn about the use of slices as ranges using the std.array module in this lesson.
We'll cover the following...
The std.array
module to use slices as ranges
Merely importing the std.array
module makes the most common container type conform to the most capable range type; slices can seamlessly be used as RandomAccessRange objects.
The std.array
module provides the functions empty
, front
, popFront()
and other range functions ...