In C++, can I do something like the code below?
In a specific case, if some conditions are meet, can I jump to another case?
switch (tag) {
case 1: {
// do something
break;
}
case 2: {
if(){
//can I somehow jump to case 1?
}
break;
}
}