Monthly Archives: June 2018

colon after constructor

As others have said, it’s an initialisation list. You can use it for two things: Calling base class constructors Initialising member variables before the body of the constructor executes. For… Read more »

git diff

A simple graphic makes this clearer: git diff Shows the changes between the working directory and the index. This shows what has been changed, but is not staged for a… Read more »