refactor: Example updated to benefit from USCS system

This commit is contained in:
Mateusz Pusz
2021-04-16 13:01:12 +02:00
parent 46e1e5e932
commit 3c56375e85

View File

@@ -88,9 +88,9 @@ void quantities_with_typed_units()
std::cout << " = " << iau::angstrom<>(meter) << '\n';
std::cout << " = " << imperial::ch<>(meter) << '\n';
std::cout << " = " << international::fathom<>(meter) << '\n';
std::cout << " = " << quantity_cast<units::isq::si::uscs::fathom>(meter) << '\n'; // `us` system namespace collides with a microsecond (si::time::uscs)
std::cout << " = " << uscs::fathom<>(meter) << '\n';
std::cout << " = " << international::ft<>(meter) << '\n';
std::cout << " = " << quantity_cast<units::isq::si::uscs::foot>(meter) << '\n'; // `us` system namespace collides with a microsecond (si::time::uscs)
std::cout << " = " << uscs::ft<>(meter) << '\n';
std::cout << " = " << international::in<>(meter) << '\n';
std::cout << " = " << iau::ly<>(meter) << '\n';
std::cout << " = " << international::mi<>(meter) << '\n';