On Thursday, 8 August 2013 at 17:35:02 UTC, JS wrote:
Can we have UFCS for templates?

e.g.,

T New(T, A...)(A args) { }


T t = T.New(args);


Note, in this case, the type parameter is substituted.

As always, providing motivating use case and advantage/cost comparison is usual requirement to make something happen.

DIP's exist for a reason.

Reply via email to