In the https://dlang.org/spec/operatoroverloading.html opAssign
is declared as
void opAssign(S rhs);
in the example.
From C++ I'm used to return *this when overloading assignment
operators to allow chaining of assignments (or somewhat more
rarely, weird tricks for if and while statements),
On Wednesday, 2 March 2016 at 08:51:07 UTC, Manuel Maier wrote:
Hi there,
I was wondering why I should ever prefer std.range.lockstep
over std.range.zip. In my (very limited) tests std.range.zip
offered the same functionality as std.range.lockstep, i.e. I
was able to iterate using