Saturday 23 June 2012

Does compiler guarantee that initializers will be executed in the same order as they appear on the initialization list?

No. C++ compiler will always initialize your members in the same order as they fall in the declaration.

No comments:

Post a Comment