Not sure what you’re looking for, but some time ago, someone presented a pretty cool library for unit management : Measured - Type-safe, intuitive units of measure
With that, you can write 5 * meters
, for example.
Not sure what you’re looking for, but some time ago, someone presented a pretty cool library for unit management : Measured - Type-safe, intuitive units of measure
With that, you can write 5 * meters
, for example.