mirror of
https://github.com/mpusz/mp-units.git
synced 2025-07-31 02:47:16 +02:00
refactor: rename unit_constants to references
Addresses https://github.com/mpusz/units/pull/261#discussion_r596663522.
This commit is contained in:
committed by
Mateusz Pusz
parent
1068f7d182
commit
018c5837f9
@ -36,7 +36,7 @@ constexpr Speed auto avg_speed(Length auto d, Time auto t)
|
||||
int main()
|
||||
{
|
||||
using namespace units::isq::si::literals;
|
||||
using namespace units::isq::si::unit_constants;
|
||||
using namespace units::isq::si::references;
|
||||
|
||||
constexpr Speed auto v1 = 110 * km / h;
|
||||
constexpr Speed auto v2 = avg_speed(220_q_km, 2_q_h);
|
||||
|
Reference in New Issue
Block a user