H. S. Teoh:

>       void opApply(int delegate(ref uint n) cb) const {

Use "const ref":
>       void opApply(int delegate(const ref uint n) cb) const {

Bye,
bearophile

Reply via email to