about summary refs log tree commit diff
path: root/cpptour/static-ass.cc
blob: 837a9658834f706123e9eae44b07be92bd0182d0 (plain) (blame)
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");
}