...
Code Block |
---|
static_assert(sizeof(int) <= sizeof(longvoid*), "sizeof(int) <= sizeof(longvoid*)"); /* Passes */ static_assert(sizeof(double) <= sizeof(int), "sizeof(double) <= sizeof(int)"); /* Fails */ |
...
...
Code Block |
---|
static_assert(sizeof(int) <= sizeof(longvoid*), "sizeof(int) <= sizeof(longvoid*)"); /* Passes */ static_assert(sizeof(double) <= sizeof(int), "sizeof(double) <= sizeof(int)"); /* Fails */ |
...