|
Re: Same initialization as declaration in constructor, why?
Its not a requirement, but strongly recommended, as giving them a different order will lead to very unintuitive behavior, as well as a warning from GCC. As Ryan said, no matter what you put in the initialization list, the members'll be initialized in the order they are declared up above.
|