Mateusz Pusz
Mateusz Pusz
I copy-pasted your proposed implementation here: https://godbolt.org/z/7G9jMT48E. See in the link how both `t1` and `t2` produce an error: ```cpp using namespace units::isq::si; torque t1(123); torque::torque t2(123); ```
Hi, it has been a while 😉 Do you still find the unit of torque confusing, or maybe were you able to make it work for you? Anyway, today I...
Also, please let me know if we can close this issue.
I am unable to find a solution that works. It also seems that is a known issue: https://github.com/chocolatey/choco/issues/2015.
I agree with the points above. The units should be printed in terms of powers of 10 rather than a power of 2 and 5. This is connected to #377,...
Both FMT and ostream approach should be checked. At least ostreams will fail to compile for pi-based units as they use `as_ratio` which requires `is_rational`.
It may also help to address #211.
Thanks, @kwikius. Yes, I know I can use more definitions (type traits, template variables, functions...) to provide additional information about each dimension. However, one of the goals of this library...
> IIRC, you want non-system units for what's in code currently called equivalent dimensions, right? Because the indirection ensures that equivalent base dimensions have the same symbols and that equivalent...
> You'll probably need to start by making the systems explicit. I am not so sure about it and would prefer to not introduce yet another dedicated abstraction. > You'll...