On Wed, 13 Oct 2010 18:21:16 -0400, bearophile <bearophileh...@lycos.com> wrote:

Andrei:

Well casting from void[] is equally awkward isn't it? I'm still
undecided on which is better.

See also:
http://d.puremagic.com/issues/show_bug.cgi?id=4572

Bye,
bearophile

That issue is slightly different because std.file.read actually creates the buffer. In this cases, the buffer is not created, dup'd, concatenated, etc. so void[] offers the most flexibility.

-Steve

Reply via email to