mirror of
https://github.com/mpusz/mp-units.git
synced 2025-07-29 18:07:16 +02:00
Revert "Merge branch 'master-msvc-194-only-lib' into master-msvc-194"
This reverts commite3034c5554
, reversing changes made to8be458b0b7
.
This commit is contained in:
@ -151,7 +151,7 @@ void example()
|
||||
const auto acceleration = isq::acceleration(measurement{9.8, 0.1} * m / s2);
|
||||
const auto time = measurement{1.2, 0.1} * s;
|
||||
|
||||
const QuantityOf<isq::velocity> auto velocity = acceleration * time;
|
||||
const QuantityOf<(isq::velocity)> auto velocity = acceleration * time;
|
||||
std::cout << acceleration << " * " << time << " = " << velocity << " = " << velocity.in(km / h) << '\n';
|
||||
|
||||
const auto length = measurement{123., 1.} * m;
|
||||
|
Reference in New Issue
Block a user