streaming redux

Steven Schveighoffer schveiguy at yahoo.com
Mon Jan 3 04:58:22 PST 2011


On Sat, 01 Jan 2011 10:59:47 -0500, so <so at so.do> wrote:

>> This can be significantly shortened:
>>
>> write((&i)[0..1]);
>
> Wow, i didn't know that!
> Could you point me to doc, please?
>
> Thanks.

http://www.digitalmars.com/d/2.0/arrays.html#implicit-conversions

-Steve


More information about the Digitalmars-d mailing list