On Tuesday, 11 December 2018 at 15:34:28 UTC, Simen Kjærås 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);
--
Simen
Perhaps. I also think that it might be good if types could be
results of compile-ime expressions, including ufcs expressions
(so that 42.typeof would become legal, meaning an int).