template<convertible_to_quantity Scalar>
class ...
But let's see how things turn out once we actually have and use quantity
We should never want to write that; our types are templatized on things that are actually quantity (that is, Quantity or double, not convertible_to_quantity, which includes int—and even char or bool…)
We should never want to write that; our types are templatized on things that are actually
quantity
(that is,Quantity
ordouble
, notconvertible_to_quantity
, which includesint
—and evenchar
orbool
…)