In what order are non-static data members initialized?
The order is the order they appear in the class definition – this is from section 12.6.2 of the C++ Standard: 5 Initialization shall proceed in the following order: — First, and only for the constructor of the most derived class as described below, virtual base classes shall be initialized in the order they appear … Read more