25 std::cout << si.
get<units::astronomical_unit, 2>() << std::endl;
33 si.
get<mega, units::years>(),
34 si.get<units::astronomical_unit>(),
35 si.get<units::kilogram>() * sol_mass,
39 std::cout << astro_units.get<units::astronomical_unit, 2>() << std::endl;
44 std::cout << astro_cte.
G() << std::endl;
constexpr T get() const noexcept
get the value of a units in the current system
namespace containing the units library
constexpr T sol_mass()
get the value of a sol_mass in the mass unit of the current unit system units
constexpr T G()
get the value of G in the current unit system units