refactor: rename unit_constants to references

Addresses https://github.com/mpusz/units/pull/261#discussion_r596663522.
This commit is contained in:
Johel Ernesto Guerrero Peña authored and Mateusz Pusz committed 2021-03-18 22:37:25 +01:00
1 parent 1068f7d182
commit 018c5837f9
64 files changed
+128 -128

No files matched your search

@@ -56,7 +56,7 @@ constexpr auto operator"" _q_Pib_per_s(unsigned long long l) { gsl_ExpectsAudit(
} // namespace literals
namespace unit_constants {
namespace references {
inline constexpr auto b_per_s = reference<dim_bitrate, bit_per_second>{};
inline constexpr auto Kib_per_s = reference<dim_bitrate, kibibit_per_second>{};
@@ -65,6 +65,6 @@ inline constexpr auto Gib_per_s = reference<dim_bitrate, gibibit_per_second>{};
inline constexpr auto Tib_per_s = reference<dim_bitrate, tebibit_per_second>{};
inline constexpr auto Pib_per_s = reference<dim_bitrate, pebibit_per_second>{};
} // namespace unit_constants
} // namespace references
} // namespace units::data
@@ -72,7 +72,7 @@ constexpr auto operator"" _q_PiB(unsigned long long l) { gsl_ExpectsAudit(std::i
} // namespace literals
namespace unit_constants {
namespace references {
inline constexpr auto b = reference<dim_information, bit>{};
inline constexpr auto Kib = reference<dim_information, kibibit>{};
@@ -88,6 +88,6 @@ inline constexpr auto GiB = reference<dim_information, gibibyte>{};
inline constexpr auto TiB = reference<dim_information, tebibyte>{};
inline constexpr auto PiB = reference<dim_information, pebibyte>{};
} // namespace unit_constants
} // namespace references
} // namespace units::data