myrange.at(i) for myrange.dropExactly(i).front

Timothee Cour via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Jul 25 14:33:14 PDT 2014


Is there a function for doing this?
myrange.at(i)
(with meaning of myrange.dropExactly(i).front)
it's a common enough operation (analog to myrange[i]; the naming is from
C++'s std::vector<T>::at)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20140725/a97afb1f/attachment.html>


More information about the Digitalmars-d-learn mailing list