orbit icon indicating copy to clipboard operation
orbit copied to clipboard

Allow for explicit Typedef arithmetics customization

Open akopich opened this issue 3 years ago • 0 comments

Currently, Typedef arithmetics relies on the operators defined for the raw types. In the absence of such, or in case of a need to overload the behaviour, the only option is to wrap the raw type into an intermediate type.

This adds customization via adding another template parameter for the arithmetics-enabling Tags.

Bug: http://b/242038642 Test: Compile, Unit

akopich avatar Aug 10 '22 14:08 akopich