Message224843
"const T" and "T const" are the same type. This compiles, and all variables have the same type:
int main()
{
const volatile int a;
const int volatile b;
int const volatile c;
volatile int const d;
volatile int const etc;
}
Even "volatile short const int" and "long volatile long const int" work. |
|
Date |
User |
Action |
Args |
2014-08-05 15:32:18 | loewis | set | recipients:
+ loewis, zach.ware, serhiy.storchaka |
2014-08-05 15:32:18 | loewis | set | messageid: <1407252738.08.0.751898318906.issue22136@psf.upfronthosting.co.za> |
2014-08-05 15:32:18 | loewis | link | issue22136 messages |
2014-08-05 15:32:18 | loewis | create | |
|