Hi, I found this code of std.range.iota's Result struct:
@property inout(Value) front() inout { assert(!empty); return current; }
What's the purpose of inout on parameterless functions?
Hi, I found this code of std.range.iota's Result struct:
@property inout(Value) front() inout { assert(!empty); return current; }
What's the purpose of inout on parameterless functions?