September 08, 2008 Re: dwt learning question,please help | ||||
---|---|---|---|---|
| ||||
Posted in reply to Denis Koroskin | Denis Koroskin Wrote:
> This one still prevents me from sleepping :)
>
> You can use :
> palette.Entries.ptr[i]
>
> to prevend array bound checking made by:
> palette.Entries[i]
>
> instead of unpleasant:
> *(palette.Entries.ptr + i)
Hehe. This seems to me exactly the same code? But i admit, i like your syntax more.
|
Copyright © 1999-2021 by the D Language Foundation