Mateusz Pusz

Results 651 comments of Mateusz Pusz

@nniclausse, you can find the list of supported compilers at https://mpusz.github.io/mp-units/2.1/getting_started/installation_and_usage/. Unfortunately, MSVC is the worst one with C++20 support now. We submitted many bugs to MSVC teams, and we...

Yes, MSVC still does not properly support C++20. The list of supported compilers is provided on the main page of our docs (https://mpusz.github.io/mp-units/2.2).

Unfortunately, there is no list, and I did not submit the bugs. Also, many bugs are still not submitted as no one had time to investigate and isolate them. Diagnostics...

However, one of the MSVC developers promised that they would try to enable mp-units internally for their CI. Hopefully, this will push things forward.

> I don't have any insights to offer on how this should interoperate with the subdivisions into "kinds" of units (which is what I think the IEC80000 comment is referring...

Yes, similar issues to `power` also exist for `energy` and `efficiency`.

And yes, I also planned to make `quantity_spec` templated on photometric condition for light and radiation. I didn't realize it is the same case for `power`, `energy`, and `efficiency` though....

We should probably provide some exceptions from the rules for engineering purposes. For example, speed is defined as a magnitude of velocity which implies that it is non-negative. For engineering...

The check implementation part is easy. Just do the compile-time branch with `gsl_Assert()`. However, first, the logic (when and where) has to be figured out. Then we have to find...

> For example, I wrap a width and a height in a Cartesian vector. I should be able to add and subtract these values without triggering assertions. Sure, please note...