uljanow
February 14th, 2008, 08:24 PM
hi,
I was wondering where I could find more information about "..." and how it could be used in C/C++ without going through the standards. Variable argument lists are the obvious use. But it did surprised me that following statements are allowed (tested with c99/c++98 flags):
try {
} catch (...) {
}
switch (5) {
case 0 ... 9:
;
}
I was wondering where I could find more information about "..." and how it could be used in C/C++ without going through the standards. Variable argument lists are the obvious use. But it did surprised me that following statements are allowed (tested with c99/c++98 flags):
try {
} catch (...) {
}
switch (5) {
case 0 ... 9:
;
}