Blog post: What D got wrong

H. S. Teoh hsteoh at quickfur.ath.cx
Tue Dec 11 18:58:42 UTC 2018


On Tue, Dec 11, 2018 at 03:34:28PM +0000, Simen Kjærås via Digitalmars-d-announce wrote:
[...]
> I believe a reasonable case can be made for .! for UFCS - it's
> currently invalid syntax and will not compile, and ! is the symbol we
> already associate with template instantiation:
> 
> alias memberFunctions = __traits(allMembers, T)
>     .!staticMap!Member
>     .!Filter!(isSomeFunction);
[...]

+1.


T

-- 
Too many people have open minds but closed eyes.


More information about the Digitalmars-d-announce mailing list