Operator to wrap
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.