# Any testimonials for any C++ units of measure library?

The question is about libraries that extend the data type system to ensure physically realistic computations. Think `std::chrono`

but for distance and mass and other things as well as for time. Instead of adding 2 and 3 to get five, you can add 2 kilometers and 3 meters to get 2003 meters. It's easy to find people who dislike using them, but are there success stories? My particular reservations are about learning curves. I'm in a shop with a smart but very small team that can't take a lot of time to figure out something like Boost Units. That leaves, by one estimate, about 3700 other libraries in the same space. If anyone's a satisfied user, which one did you integrate in your project, how did you pick it, and what problems should I look out for?

## 1 answer

Looking for testimonials, so I'm going to self-promote.

I had similar problems at work, and didn't like their homegrown solution. Well I mostly liked it, but I had some issues with it.

Mostly, I didn't like that I had to add multiple lines just to add a new unit. So I started working on an alternative and published what I have on github.

https://github.com/bensaboff/CPP-Units-Conversion

I would like some feedback anyway, so if you'd like to look at it, please do so and let me know what you think.

It's still a bit of a work in progress, but I'm looking to start using it as is.

## 1 comment thread