question with compile-time reflection

Zhenya zheny at list.ru
Sun Mar 10 17:20:53 PDT 2013


On Monday, 11 March 2013 at 00:10:46 UTC, Rob T wrote:
> template NDimensionalArrayType(T,alias size)
>
> I'm wondering what "alias size" does? I can't find that form 
> documented anywhere, but it seems to be valid.
>
> Thanks.
>
> --rt

It's just a little hack for known bug - only string and integer 
value can be passed into template.
size is array,and it's really size of n-dimensional array,every 
element matches
its dimension.


More information about the Digitalmars-d-learn mailing list