Chapter 22. Initialization Lists

    FAQ 22.01 What are constructor initialization lists?

    FAQ 22.02 What will happen if constructor initialization lists are not used?

    FAQ 22.03 What's the guideline for using initialization lists in constructor definitions?

    FAQ 22.04 Is it normal for constructors to have nothing inside their body?

    FAQ 22.05 How is a const data member initialized?

    FAQ 22.06 How is a reference data member initialized?

    FAQ 22.07 Are initializers executed in the same order in which they appear in the initialization list?

    FAQ 22.08 How should initializers be ordered in a constructor's initialization list?

    FAQ 22.09 Is it moral for one member object to be initialized using another member object in the constructor's initialization list?

    FAQ 22.10 What if one member object has to be initialized using another member object?

    FAQ 22.11 Are there exceptions to the rule "Initialize all member objects in an initialization list"?

    FAQ 22.12 How can an array of objects be initialized with specific initializers?



C++ FAQs
C Programming FAQs: Frequently Asked Questions
ISBN: 0201845199
EAN: 2147483647
Year: 2005
Pages: 566
Authors: Steve Summit

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net