cpptools: add operators for Quantity(+utest)