Number concept used for representation

This commit is contained in:
Mateusz Pusz
2018-10-19 13:02:58 +02:00
parent e0511669cf
commit 4e74617e2a
4 changed files with 125 additions and 87 deletions
+3 -1
View File
@@ -48,7 +48,9 @@ namespace {
static_assert(10_km / 5_km == 2);
static_assert(10_km / 2 == 5_km);
static_assert(1_m == 100_cm)//static_assert(5_in + 8_cm == 207_mm);
// static_assert(1_ft == 12_in);
static_assert(1_m == 100_cm);
// static_assert(5_in + 8_cm == 207_mm);
// velocity