j
k
j a
j l
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::optional<boost::variant> r_, v_; Then setR() would be just: r_ = rhs;
Back to the thread
Back to the list