First page Back Continue Last page Overview Graphics
Constructor:
assignment v/s initialization
C++ has a concept of member initialization in the constructor
- Different from assigning to member variable in the constructor
- example4.cpp
- Required for
- Const variables
- References
- Can provide performance boost in the case of complex contained objects