I have this case:
using T = classA;
In case T is classA , you must cast. In the case of T classB casting is redundant.
According to the standard, will the second casting (no more executable code) be discarded, since this is optional?
c ++ c ++ 11 static-cast
Humam helfawi
source share