[c++] Why can't variables be declared in a switch statement?