9 Oct
2008
9 Oct
'08
7:52 p.m.
I have chosen to make the private members r_ and v_ as pointers to allow for r_=0 and v_=0 (is this a "never do this" thing?).
You can also consider using boost::optionalboost::variant r_, v_; Then setR() would be just: r_ = rhs;