cmake/c++11-test-decltype-N2343.cpp@5e96648f416f
cmake/c++11-test-decltype-N2343.cpp
Sat, 24 Aug 2013 16:17:48 +0300
- author
- Santeri Piippo <crimsondusk64@gmail.com>
- date
- Sat, 24 Aug 2013 16:17:48 +0300
- changeset 482
- 5e96648f416f
- parent 473
-
2a84149fe642
- permissions
- -rw-r--r--
redirect the user to configuration if the download path is not given
bool check_size(int i)
{
return sizeof(int) == sizeof(decltype(i));
}
int main()
{
bool ret = check_size(42);
return ret ? 0 : 1;
}