On Friday, 14 December 2018 at 12:43:40 UTC, berni wrote:
I've got a lot of code with two-dimensional arrays, where I use stuff like:


Does anyone know if there is a 2D-version of all so I can write something like:


auto all2d(alias f)(ref Matrix m)
     return m.all!(a => a.all!(b => f(b)));
  • 2D-all? berni via Digitalmars-d-learn
    • Re: 2D-all? Nicholas Wilson via Digitalmars-d-learn

Reply via email to