Mateusz Pusz
Mateusz Pusz
Hi @BobSteagall, could you please remove this `static_assert` from the code as it breaks other code for me as well? See more here: https://github.com/mpusz/mp-units/actions/runs/9669968920/job/26677689242.
Sorry, for not answering for so long. I didn't notice when you created this issue. Yeah, I thought about adding it as a Conan package but it will: 1. Force...
Hi, thanks for your feedback! We had such separations of compilation before we added support for C++ modules in the last version. However, with modules, it didn't scale, so we...
> I am thinking to propose mp-units for use with Ardupilot at some point (I think it might be a too hard sell but... ) It would be great. Thanks!
> so how to do it? Could you please try: ```cpp #include ``` instead of `si.h`? This skips redefining all the unit symbols, which are quite expensive to compile.
This library was created with C++ modules in mind. Predefining a lot of instances in the library and compiling the module once should result in faster compilation times for the...
We will definitely need to optimize compile times anyway. I implemented many features in the most straightforward way in many cases to save time and improve readability. I am aware...
> Note that in quan, I used a per quantity header with an all-types header for the lazy. EDIT: That might be worth thinking about for mp-units I am not...
Actually, it would be interesting to check what are the compile times in case modules are being used. Unfortunately, GCC does not support those in gcc-13. Can you check clang-17...
Also, there is a new C++26 pack indexing feature (https://en.cppreference.com/w/cpp/language/pack_indexing) that should improve compile times here. It should be available in clang-19.