feat: value_cast support added

Resolves #239 and #120
This commit is contained in:
Mateusz Pusz
2023-02-03 11:08:13 +01:00
parent cf3408a3c8
commit b4f47c3fef
19 changed files with 220 additions and 212 deletions

View File

@@ -95,7 +95,7 @@ void quantity_of_vector_cast()
std::cout << "v = " << v << "\n";
std::cout << "u = " << u << "\n";
std::cout << "v[km] = " << quantity_cast<km>(v) << "\n";
std::cout << "v[km] = " << value_cast<km>(v) << "\n";
std::cout << "u[m] = " << u[m] << "\n";
}