Quote Originally Posted by anon View Post
Anyway, in this case there is no real reason to worry about inlining: console output will still be expensive and slow and the constructor could be "optimized" by using an initializer list instead:
The initializer list MUST be used to initialize members. Doing it inside the constructor body itself is just wrong.

Although you won't find out why this is until you start using data types which are not assignable.