// Or avoid foreach altogether: studs.map!((ref const s) => writeln(s.name)); }
Did you test this one? std.algorithm.map is lazy.
// Or avoid foreach altogether: studs.map!((ref const s) => writeln(s.name)); }
Did you test this one? std.algorithm.map is lazy.