cppreference.com stats that the form of the switch statement is:
attr switch ( condition ) statement
and that statement is any statement.
So, what will happen if I didn't put any case: or default: labels in statement, as:
switch (1) {std::cout << 'x';}
What if I wrap a statement that doesn't come after any case: or default: label with additional braces as:
switch (1) {{std::cout << 'x';}}
since wrapping a declaration of a variable with additional braces will make that declaration legal even if it was before every case: and default: labels.