foreach, tupleof

Philippe Sigaud philippe.sigaud at gmail.com
Mon Mar 8 14:11:50 PST 2010


On Mon, Mar 8, 2010 at 22:11, bearophile <bearophileHUGS at lycos.com> wrote:

> 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.
>
> Thanks. It's an invalid char, as NaN for floats?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20100308/8def40f5/attachment.htm>


More information about the Digitalmars-d-learn mailing list