1 2 3 4 5 6 7 8
constexpr double C = 2999792.458; // km/s int main () { constexpr double local_max = 160.0 / (60 * 60); static_assert (local_max < C, "can't go that fast"); }