cmake/c++11-test-auto-N2546.cpp@c7f8989c995f
cmake/c++11-test-auto-N2546.cpp
Fri, 23 Aug 2013 01:20:09 +0300
- author
- Santeri Piippo <crimsondusk64@gmail.com>
- date
- Fri, 23 Aug 2013 01:20:09 +0300
- changeset 478
- c7f8989c995f
- parent 473
-
2a84149fe642
- permissions
- -rw-r--r--
bit of a clarification
int main()
{
auto i = 5;
auto f = 3.14159f;
auto d = 3.14159;
bool ret = (
(sizeof(f) < sizeof(d)) &&
(sizeof(i) == sizeof(int))
);
return ret ? 0 : 1;
}