Chapter 23. Operator Overloading

    FAQ 23.01 Are overloaded operators like normal functions?

    FAQ 23.02 When should operator overloading be used?

    FAQ 23.03 What operators can't be overloaded?

    FAQ 23.04 Is the goal of operator overloading to make the class easier to understand?

    FAQ 23.05 Why do subscript operators usually come in pairs?

    FAQ 23.06 What is the most important consideration for operators such as +=, +, and =?

    FAQ 23.07 How are the prefix and postfix versions of operator++ distinguished?

    FAQ 23.08 What should the prefix and postfix versions of operator++ return?

    FAQ 23.09 How can a Matrix-like class have a subscript operator that takes more than one subscript?

    FAQ 23.10 Can a ** operator serve as an exponentiation operator?



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