I will note that as a user I would like the compiler to give me a nice error message either at compile time or at runtime (in Debug mode) explaining what the problem is. No segfaults or undefined behavior in Debug mode.
2 Likes