foreach, tupleof

bearophile bearophileHUGS at lycos.com
Mon Mar 8 13:11:36 PST 2010


Philippe Sigaud:
> assert(c =  ); // is there a literal for char.init? '' doesn't
> work.

I think it's '\xFF' but I don't know if it may change in future, so using char.init is probably better, more readable, more explicit in its purpose, and less prone to typing bugs.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list