On Wednesday, 7 February 2018 at 01:45:27 UTC, Jonathan M Davis
wrote:
Perhaps, but foreach does not support that.
foreach(e; range)
{
...
}
is lowered to something like
for(auto __range = range; !__range.empty; __range.popFront())
{
auto e = __range.front;
...
}
Fun fact: an ac
On Wednesday, February 07, 2018 01:21:16 Fra Mecca via Digitalmars-d-learn
wrote:
> On Wednesday, 7 February 2018 at 01:10:34 UTC, Fra Mecca wrote:
> > I don't know if this post belongs to the learn section, but
> > I'll try anyway.
> >
> > I am using the std.path.pathSplitter function that return
On Wednesday, 7 February 2018 at 01:10:34 UTC, Fra Mecca wrote:
I don't know if this post belongs to the learn section, but
I'll try anyway.
I am using the std.path.pathSplitter function that returns a
PathSplitter function exposing ranges primitive.
I have some question that could be genera
I don't know if this post belongs to the learn section, but I'll
try anyway.
I am using the std.path.pathSplitter function that returns a
PathSplitter function exposing ranges primitive.
I have some question that could be generalized to other structs
that expose range primitives.
1. Why ca