Re: partial application for templates

2017-12-26 Thread Mengu via Digitalmars-d-learn
On Monday, 25 December 2017 at 22:58:50 UTC, David Nadlinger 
wrote:

On Monday, 25 December 2017 at 20:39:52 UTC, Mengu wrote:

is partially applying templates possible?


Check out std.meta.Apply{Left, Right}.

 — David


thanks a lot mr. smith & david.


Re: partial application for templates

2017-12-25 Thread David Nadlinger via Digitalmars-d-learn

On Monday, 25 December 2017 at 20:39:52 UTC, Mengu wrote:

is partially applying templates possible?


Check out std.meta.Apply{Left, Right}.

 — David


Re: partial application for templates

2017-12-25 Thread MrSmith via Digitalmars-d-learn

On Monday, 25 December 2017 at 20:39:52 UTC, Mengu wrote:

is partially applying templates possible?


template A(X, Y, Z) {}
alias B(X, Y) = A!(X, Y, int);


partial application for templates

2017-12-25 Thread Mengu via Digitalmars-d-learn

is partially applying templates possible?