feat: two argument explicit cast support added

This commit is contained in:
Mateusz Pusz committed 2020-09-10 13:01:38 +02:00
1 parent 44e8d39102
commit 9cd0cb4105
7 files changed
+72 -11

No files matched your search

+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