On 07/11/2014 10:08 PM, dysmondad wrote: > class Velocity > {
[...] > ref Velocity opOpAssign(string op) ( in float multiplier )Unrelated to your question, you want to return just Velocity there. Unlike C++, classes are reference types in D. So, Velocity itself is essentially a Velocity* in C++.
Ali