This is using a non-intrusive type-traits like templated system, which allows compile-time validation that the command table and the command enum match up.