FairRoot
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
cxx11-test-decltype.cpp
Go to the documentation of this file.
1
bool
check_size
(
int
i)
2
{
3
return
sizeof
(int) ==
sizeof
(decltype(i));
4
}
5
6
int
main
()
7
{
8
bool
ret =
check_size
(42);
9
return
ret ? 0 : 1;
10
}
main
int main(void)
Definition:
cxx11-test-__func__.cpp:1
check_size
bool check_size(int i)
Definition:
cxx11-test-decltype.cpp:1
FairRoot
cmake
checks
cxx11-test-decltype.cpp
Generated on Mon Mar 8 2021 12:14:05 for FairRoot by
1.8.5