Operator to wrap
(optional) Type of opBinary's parameter for disambiguation if there are multiple overloads.
Issue 8602 prevents disambiguation for case X opBinary(string op, T)(T t);
class Foo{ int _j; int opBinary(string op)(int i) if(op == "+"){ return i+_j; } int opBinaryRight(string op)(int i) if(op == "+"){ return i+_j; } } class_wrap!(Foo, OpBinary!("+"), OpBinaryRight!("+"));
Wrap a binary operator overload.