Chapter 19. Friend Classes and Friend Functions

    FAQ 19.01 What is a friend?

    FAQ 19.02 What's a good mental model for friend classes?

    FAQ 19.03 What are some advantages of using friend classes?

    FAQ 19.04 Do friends violate the encapsulation barrier?

    FAQ 19.05 What is a friend function?

    FAQ 19.06 When should a function be implemented as a friend function rather than a member function?

    FAQ 19.07 What are some guidelines to make sure friend functions are used properly?

    FAQ 19.08 What does it mean that friendship isn't transitive?

    FAQ 19.09 What does it mean that friendship isn't inherited?

    FAQ 19.10 What does it mean that friends aren't virtual?

    FAQ 19.11 What qualities suggest a friend function rather than a member function?

    FAQ 19.12 Should friend functions be declared in the private:, protected:, or public: section of a class?

    FAQ 19.13 What is a private class?

    FAQ 19.14 How are objects of a class printed?

    FAQ 19.15 How do objects of a class receive stream input?



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