On 06/24/2013 03:05 PM, Craig Dillabaugh wrote: > Can anyone identify what I am doing wrong. Also I am curious to > know why std.range includes both Lockstep and lockstep - they > seem like the same thing.
lockstep is a helper function that returns an instance of Lockstep. The reason is that if you instantiate a struct/class template directly you have to explicitly state the template parameters. A function template call can infer the template parameters and use them to instantiate a class instance.