[clang-format]
This commit is contained in:
1 parent
3174291f95
commit
93af5db137
13 files changed
+124
-111
No files matched your search
@@ -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