mirror of
https://codeberg.org/emilwilliams/chad_standard
synced 2024-11-22 03:54:18 -05:00
9 lines
485 B
Markdown
9 lines
485 B
Markdown
## Justification for Define At End Header Guard -> Define At Beginning Header Guard.
|
|
|
|
Define At End Header Guard is a very pretty style for Header Guards, however is nonviable due to:
|
|
|
|
Define At End Header Guard fail to properly handle circular dependence as the define comes after the dependency,
|
|
hence using Define At Beginning Header Guard is always preferable.
|
|
|
|
This was brought to light by an long-term Anonymous contributor, and is responsible for this change and justification.
|