More things to make your classes work, and work well.
inline functions for efficiency
Consider the diagrams of what happens in function calls from Chapters 8
. They show what the computer does. It creates a new copy of the function, an “activation record
,” containing everything the instance of the function needs, especially local variables. It copies parameters into a part of memory the function can access. It stores what it needs to know about the function it was in (the state of the registers in the CPU – if you don't know what that is, don't worry about it). Finally, it transfers control ...