On Mon, 03 Jan 2011 14:58:22 +0200, Steven Schveighoffer <schvei...@yahoo.com> wrote:

On Sat, 01 Jan 2011 10:59:47 -0500, so <s...@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

Thanks.
I know those 3, but they don't have much to do with your example, or most likely i didn't get it...

--
Using Opera's revolutionary email client: http://www.opera.com/mail/

Reply via email to