mirror of
https://github.com/mpusz/mp-units.git
synced 2025-06-25 01:01:33 +02:00
Revert "refactor(example): explicit conversions added for ranged_representation
arguments"
This reverts commit 0811ca92e1
.
This commit is contained in:
@ -79,11 +79,10 @@ inline constexpr struct prime_meridian final : mp_units::absolute_point_origin<m
|
||||
|
||||
|
||||
template<typename T = double>
|
||||
using latitude = mp_units::quantity_point<mp_units::si::degree, equator, ranged_representation<T, T{-90}, T{90}>>;
|
||||
using latitude = mp_units::quantity_point<mp_units::si::degree, equator, ranged_representation<T, -90, 90>>;
|
||||
|
||||
template<typename T = double>
|
||||
using longitude =
|
||||
mp_units::quantity_point<mp_units::si::degree, prime_meridian, ranged_representation<T, T{-180}, T{180}>>;
|
||||
using longitude = mp_units::quantity_point<mp_units::si::degree, prime_meridian, ranged_representation<T, -180, 180>>;
|
||||
|
||||
template<class CharT, class Traits, typename T>
|
||||
std::basic_ostream<CharT, Traits>& operator<<(std::basic_ostream<CharT, Traits>& os, const latitude<T>& lat)
|
||||
|
Reference in New Issue
Block a user