当前位置:网站首页>Each of D is inconsistent with the map

Each of D is inconsistent with the map

2022-06-11 13:32:00 fqbqrr

import std;

void main() {
    
  int[3] arr;

  arr.each!(e => e);    //  compile 
  // arr.map!(e => e); //  Failure 
  arr[].map!(e => e);   //  compile 
}
原网站

版权声明
本文为[fqbqrr]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/162/202206111323428515.html