how to define infix function

KnightMare black80 at bk.ru
Thu Apr 11 10:32:58 UTC 2019


> u can use infix function with 1arg without any parentheses.
UPD
with 2args
arg1 `infix func` arg2

latter I told about UFCS with 1arg
`UFCS func` arg1


More information about the Digitalmars-d-learn mailing list