mirror of
https://github.com/mpusz/mp-units.git
synced 2025-07-29 18:07:16 +02:00
Hand written concepts replaced with Casey Carter's repository
This commit is contained in:
@ -30,7 +30,7 @@ void foo(V v, T t)
|
||||
{
|
||||
const Length distance = v * t;
|
||||
std::cout << "A car driving " << v.count() << " km/h in a time of " << t.count() << " minutes will pass "
|
||||
<< quantity_cast<length<meter, int>>(distance).count() << " meters.\n";
|
||||
<< quantity_cast<length<meter, double>>(distance).count() << " meters.\n";
|
||||
}
|
||||
|
||||
void foo()
|
||||
|
Reference in New Issue
Block a user