Skip to content

Latest commit

 

History

History
11 lines (6 loc) · 434 Bytes

initializerList.md

File metadata and controls

11 lines (6 loc) · 434 Bytes

Pattern: Member variable in wrong place in initializer list

Issue: -

Description

Members are initialized in the order they are declared, not in the order they are in the initializer list. Keeping the initializer list in the same order that the members were declared prevents order dependent initialization errors.

Further Reading