On 9/11/11 10:02 PM, Charles Hixson wrote: > What is the proper way to define the "in" operation in D2? For containers, you typically want to use opBinaryRight: --- bool opBinaryRight(string op : "in")(ElemType e) const { return …; } --- David