On Mon, 03 May 2010 16:46:41 +0000, Lars T. Kyllingstad wrote: > [...] > > Pair opBinary(string op)(Pair p) > { > auto r = this; > r.opOpAssign!op(p); Sorry, that last line should be: r.opOpAssign!(op~"=")(p); -Lars