On Fri, 25 Jan 2019 03:52:23 +0000, Neia Neutuladh wrote: > alias min = Operator!((a, b) => a < b ? a : b); Er, that should obviously be: enum min = Operator!(...).init; Or use a static function for the operator overload. It's a land of lawlessness here, do whatever you like.