mp-units
mp-units copied to clipboard
The quantities and units library for C++
I made a simple test program to try out the library (I am using Apple Clang 15). I am consuming the library using plain Cmake. I found an interesting problem...
My use-case is an embedded application where we have disabled all C++ exceptions (and all dynamic memory allocations - there is no operating system). It looks like some of the...
My use-case for this library is an embedded application where we have localization disabled (by defining __LIBCPP_HAS_NO_LOCALIZATION). This causes problems when compiling with mp-units, as it tries to include the...
The use of names such as 'm' effectively in the global namespace doesn't scale well. I have been looking into trying to use mp-units in a real library and selected...
Some comments re the current status [here](https://github.com/mpusz/mp-units/issues/558#issuecomment-1964121169) I am thinking to propose mp-units for use with Ardupilot at some point (I think it might be a too hard sell but......
This is needed both for streams and `std::format`.
Fixes #568
I see that the library now offers casts that are [explicit in what they do](https://github.com/mpusz/mp-units/issues/239) - I like! I currently see the following overloads: - `value_cast` - `value_cast` - `value_cast`...
It seems that WG21 is not afraid of the need for the `template` disambiguator in the interface. Implement the interfaces from: https://github.com/mpusz/mp-units/issues/477#issuecomment-1702762483