I have a class called Questions. In this class, there is an enum called Question, which looks like this.
public enum Question
Role = 2,
Why is it advised to use static_cast and not C-style casts?
As I understand, other C++ casts (constcast , dynamiccast and reinterpretcast) are for completely different ...
What is the real benefit of static_cast over C-style cast?