2 ms·
As you say, in D it's: case 0b0001_0000: case 0b0101_1000: which indeed looks much nicer. I have no idea why C++, when copying the feature, didn't us
by WalterBright 3y ago
As you say, in D it's:
case 0b0001_0000:
case 0b0101_1000:
which indeed looks much nicer. I have no idea why C++, when copying the feature, didn't use _.
P.S. I copied this feature from 1983 Ada. AFAIK, it was a completely forgotten feature until D had it, then other languages started copying D.