mockingbirdnest / Principia

𝑛-Body and Extended Body Gravitation for Kerbal Space Program
MIT License
774 stars 70 forks source link

Rename quantity to make way for an actual quantity concept #3913

Closed eggrobin closed 8 months ago

eggrobin commented 8 months ago

it would be unpleasant to have to write:

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…)