Agree with your compiler: Member variables are always initialized in the order they are declared in the class definition; the order in which you write them in the constructor initialization list is ignored. Make sure the constructor code doesn’t confusingly specify a different order.
You are currently reading a PREVIEW of this book.
Get instant access to over
$1 million worth of books and videos.