www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Template args

reply Andrey <avraliov gmail.com> writes:
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?
Jul 15 2016
parent reply Max Klimov <klimroot gmail.com> writes:
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 ?
Jul 15 2016
parent Andrey <avraliov gmail.com> writes:
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 ?
Спасибо!!!
Jul 15 2016