Safe Usage of Mutable Ranges in foreach scopes

via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri May 8 04:29:52 PDT 2015


On Friday, 8 May 2015 at 11:25:26 UTC, Per Nordlöw wrote:
> Such a feature would make the usage of this pattern very 
> (perhaps even absolutely) safe from a memory corruption point 
> of view.

Correction: Not exactly memory corruption point of view. Rather 
to avoid logical bugs when parsing/decoding line-based streams of 
text.


More information about the Digitalmars-d-learn mailing list