templated static array
Namespace
rswhite4 at googlemail.com
Mon Oct 15 08:14:42 PDT 2012
On Monday, 15 October 2012 at 15:10:43 UTC, bearophile wrote:
> Namespace:
>
>> So there is no way that the compiler knows by himself how many
>> elements are in the array?
>
> The syntax I have suggested doesn't have the problem you fear.
> Why don't you compile and run a little test program?
>
> Bye,
> bearophile
I have: http://dpaste.dzfl.pl/661e4fb3
But I still have to specify the number of elements and the type.
That is what I try to avoid.
More information about the Digitalmars-d-learn
mailing list