You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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
.The text was updated successfully, but these errors were encountered: