foreach (k,v;ways) if (v.empty) ways.remove(k);
Do you agree? Or is there a better way to achieve this?
berni via Digitalmars-d-learn Thu, 29 Aug 2019 03:18:07 -0700
foreach (k,v;ways) if (v.empty) ways.remove(k);
Do you agree? Or is there a better way to achieve this?