[Issue 11466] std.range.zip for nothrow and @safe functions
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Thu Dec 4 14:11:01 PST 2014
https://issues.dlang.org/show_bug.cgi?id=11466
--- Comment #1 from bearophile_hugs at eml.cc ---
In dmd 2.067alpha this code compiles:
import std.range: zip;
void foo1(int[] data) @safe {
foreach (pair; zip(data, data)) {}
}
void foo2(in int[] data) @safe {
foreach (pair; zip(data, data)) {}
}
void main() {}
--
More information about the Digitalmars-d-bugs
mailing list