CISC 187 Textbook
Search
Table of Contents
Book Index
Search this book
User
Dark Mode
Scratch Activecode
9.
Class constructors and overloads
ΒΆ
This chapter introduces the different kinds of functions that are found only within classes.
9.1. Constructors
9.1.1. Initialization syntax
9.1.2. Overloaded constructors
9.1.3. Telescoping constructors
9.2. Static members
9.3. Operator overloads
9.3.1. Basic overloading guidelines
9.3.2. Assignment operator
9.3.3. Insertion and extraction operators
9.3.4. Function call operator
9.3.5. Comparison operators
9.3.6. Binary arithmetic operators
9.3.7. Increment and decrement operators
9.3.8. Conversion operators
9.4. Friend vs non-friend functions