Hand written concepts replaced with Casey Carter's repository

This commit is contained in:
Mateusz Pusz
2019-04-04 11:00:40 +02:00
parent 5b135b1251
commit 6646051e65
13 changed files with 24 additions and 67 deletions

View File

@ -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()