feat: two argument explicit cast support added

This commit is contained in:
Mateusz Pusz
2020-09-10 13:01:38 +02:00
parent 44e8d39102
commit 9cd0cb4105
7 changed files with 72 additions and 11 deletions
+1 -1
View File
@@ -468,7 +468,7 @@ TEST_CASE("operator<< on a quantity", "[text][ostream][fmt]")
SECTION("percents")
{
#if DOWNCAST_MODE == 0
const auto q = quantity_cast<dimensionless<percent>>(15._q_m / 100._q_m);
const auto q = quantity_cast<dim_one, percent>(15._q_m / 100._q_m);
#else
const auto q = quantity_cast<percent>(15._q_m / 100._q_m);
#endif