import std; void main() { int[3] arr; arr.each!(e => e); // 编译 // arr.map!(e => e); // 失败 arr[].map!(e => e); // 编译 }