This is driving me nuts. I'm trying to do something simple: Convert between si::meter and US foot.
I can do do:
quantity<si::length> l = 1 * si::meters;
but there doesn't seem to be a US based system, e.g. I cannot find
quantity<si::length> l = 1 * us::foot;
Is that correct? What is the intended use of the US base units?
Edit to clarify: All the US based units are defined, but I can't figure out how to properly use them and the documentation is lacking.
After a lot of staring at the radar_beam_height.cpp example, I came up with the following solution:
The output is as expected:
Can someone confirm that this is the intended use?