UFCS for templates
barryharris
slackovsky at gmail.com
Thu Aug 8 21:33:43 PDT 2013
>
> auto test2 = New!AnotherTest("test2", 20);
oops, should read:
auto test2 = New!AnotherTest(20);
--------------------
-1 for me anyway for the following reason:
A.function(args) // I know A is a function value parameter
function!A(args) // I know A is a template type parameter
function!10(args) // I know 10 is a template type parameter
10.function(args) // I know 10 is a function value parameter
So I don't like it...
More information about the Digitalmars-d
mailing list