Closed ISibboI closed 8 months ago
See
How about adding another type parameter to Quantity
that specifies if it can be added/subbed with itself or not? Then the default add/sub impl can be made only for some default value of that type parameter, and ThermodynamicTemperature
could get its own implementation by having another value for this type parameter.
Closing as a duplicate of #380.
Hi, thanks for making uom! It has caught a few errors already in my small hobby project.
Currently, when I subtract two thermodynamic temperatures, I get the following error:
However, I would expect this to work and the result to be a
TemperatureInterval
.