On 3/27/12 13:37 , bearophile wrote:
Something like this:Label1: //... Label2: //... Label3: //... enum void*[3] targs = [&Label1,&Label2,&Label3]; int i = 2; // run-time value goto targs[i];
+1, this would be sweet
On 3/27/12 13:37 , bearophile wrote:
Something like this:Label1: //... Label2: //... Label3: //... enum void*[3] targs = [&Label1,&Label2,&Label3]; int i = 2; // run-time value goto targs[i];
+1, this would be sweet