Minor issue - zero-length fixed size arrays in variable-sized structs..

Jarrett Billingsley jarrett.billingsley at gmail.com
Thu Jul 9 17:24:16 PDT 2009


On Thu, Jul 9, 2009 at 1:09 PM, Steven Schveighoffer<schveiguy at yahoo.com> wrote:

> Would something like this work?
>
> (&data)[0..length]

Nope; &data is a char[0]*, and slicing it will get you a char[0][].
Which is pretty useless :D



More information about the Digitalmars-d mailing list