QuantityT<T,U> struct upon which fts_units is built.
QuantityT<T,U> defines a
Quantity which stores an
amount of type
T with units type
U. Mathematical operations with
QuantityT<T,U> values produces new types of
QuantityT with a different
U is zero sized then all the type checking done and compile time and boils down to nothing. No run-time overhead for either CPU or memory.
Mathematical operations for
QuantityT<T,U> are defined so long as they are independently defined for both
Foundational struct used by all run-time quantities.
Must be implemented for
Helpers for casting
Helper for converting units. For example from Meters to Kilometers.
Helper for performing generic computations with