The problem is not so much if the compiler will catch it, but how to lay out the new code/types in an editor, hopefully all in one place or accessible from one place.
C++ will catch a missing combination at compile time as well.
C++ will catch a missing combination at compile time as well.