mirror of
https://github.com/mpusz/mp-units.git
synced 2025-07-29 18:07:16 +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>
|
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>
|
template<typename T = double>
|
||||||
using longitude =
|
using longitude = mp_units::quantity_point<mp_units::si::degree, prime_meridian, ranged_representation<T, -180, 180>>;
|
||||||
mp_units::quantity_point<mp_units::si::degree, prime_meridian, ranged_representation<T, T{-180}, T{180}>>;
|
|
||||||
|
|
||||||
template<class CharT, class Traits, typename T>
|
template<class CharT, class Traits, typename T>
|
||||||
std::basic_ostream<CharT, Traits>& operator<<(std::basic_ostream<CharT, Traits>& os, const latitude<T>& lat)
|
std::basic_ostream<CharT, Traits>& operator<<(std::basic_ostream<CharT, Traits>& os, const latitude<T>& lat)
|
||||||
|
Reference in New Issue
Block a user