prog.cpp:9:16: error: static_assert expression is not an integral constant expression
static_assert(local_max<C,"can't go that fast");
^~~~~~~~~~~
prog.cpp:9:16: note: read of non-constexpr variable 'local_max' is not allowed in a constant expression
prog.cpp:8:15: note: declared here
const double local_max = 160.0/(60*60);
^
1 error generated.