proposal: add bytesof Property, reduce pointer/cast requires

Janice Caron caron800 at googlemail.com
Sat Nov 17 22:45:06 PST 2007


On 11/18/07, Janice Caron <caron800 at googlemail.com> wrote:
> But since bytesOf() operates on an array, one could presumably also write
>
>     sendPacket(structVar.bytesOf);
>
> which is what the orignal poster wanted. (Isn't D great?)

Nah. Bugger, I'm wrong. Sorry, retract that.
Anyway I still think Jarrett's idea is the perfect solution.



More information about the Digitalmars-d mailing list