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-constructor-delegation.cpp
Go to the documentation of this file.
1
class
X
2
{
3
public
:
4
int
i_
;
5
X
(
int
i) :
i_
(i) {}
6
X
() :
X
(42) {}
7
};
8
9
int
main
(
void
)
10
{
11
X
val;
12
return
(val.
i_
-42) ? 1 : 0;
13
}
X::X
X()
Definition:
cxx11-test-constructor-delegation.cpp:6
X
Definition:
cxx11-test-constructor-delegation.cpp:1
main
int main(void)
Definition:
cxx11-test-__func__.cpp:1
X::i_
int i_
Definition:
cxx11-test-constructor-delegation.cpp:4
X::X
X(int i)
Definition:
cxx11-test-constructor-delegation.cpp:5
FairRoot
cmake
checks
cxx11-test-constructor-delegation.cpp
Generated on Mon Mar 8 2021 12:14:05 for FairRoot by
1.8.5