import std;
void main() { int[3] arr; arr.each!(e => e); // Compiles // arr.map!(e => e); // Fails to compile arr[].map!(e => e); // Compiles } Why the inconsistency? Ali
import std;
void main() { int[3] arr; arr.each!(e => e); // Compiles // arr.map!(e => e); // Fails to compile arr[].map!(e => e); // Compiles } Why the inconsistency? Ali