-
-
Notifications
You must be signed in to change notification settings - Fork 75
Description
Currently symbolic mathematical operations involving Zoned types are only implemented for &Zoned references (in part because Zoned is not Copy). This could lead one to assume that these operators are not defined/present at all when attempting to perform these operations owned Zoned instances (as would be most natural, for example, when dealing with temporaries).
This would be strictly in addition to the current definitions implemented on &Zoned references, to improve the usability of the library and make these features more discoverable (as originally discussed in #390).
(I'm not sure if there are any other types that this proposal should extend to, as I understand it all the remaining important types that one would perform math on are Copy?)