Re: Template args

2016-07-16 Thread Andrey via Digitalmars-d-learn
On Saturday, 16 July 2016 at 00:29:12 UTC, Max Klimov wrote: On Friday, 15 July 2016 at 23:07:20 UTC, Andrey wrote: Hi guys! Can any one tell me - how to pass an array of int's in to the template struct at compile-time, and how to use int there? Like this: https://dpaste.dzfl.pl/844057da81e9

Re: Template args

2016-07-15 Thread Max Klimov via Digitalmars-d-learn
On Friday, 15 July 2016 at 23:07:20 UTC, Andrey wrote: Hi guys! Can any one tell me - how to pass an array of int's in to the template struct at compile-time, and how to use int there? Like this: https://dpaste.dzfl.pl/844057da81e9 ?