Length of fixed size arrays
Benjamin Thaut
code at benjamin-thaut.de
Sat Nov 17 09:17:53 PST 2012
On Saturday, 17 November 2012 at 16:55:46 UTC, Andrej Mitrovic
wrote:
> On 11/17/12, Benjamin Thaut <code at benjamin-thaut.de> wrote:
>> I'm not quite sure if the .length property of a static
>> array is always a compile time constant.
>
> When is it not a constant?
I had a problem in the past where it complained that accessing
the length is not possible without a instance. But that could
have been a bug.
Kind Regards
Benjamin Thaut
More information about the Digitalmars-d
mailing list