Skip to content

Commit

Permalink
Update developer.md
Browse files Browse the repository at this point in the history
Add information about preferring #pragma once even though it is not really a standard.

Former-commit-id: 5ddde64d743d9b6a581a50bd6404f313800903de [formerly 2e5017e]
Former-commit-id: 76a48f3b4c0804545b70fec758a89532a9bc49a2
Former-commit-id: 4b584cd875a98a05fc77a9a54667f957c57f8a2b
  • Loading branch information
baconpaul authored Jan 27, 2019
1 parent f32cea8 commit 917375f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/developer.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,4 +128,6 @@ than that, perhaps toss in a comment.

Prefer `std::ostringstream` and so on to `sprintf` and so on.

`#pragma once`, while not [really standard](https://en.wikipedia.org/wiki/Pragma_once), is used in
most of the code, so we are continuing to use it rather than ifdef guards.

0 comments on commit 917375f

Please sign in to comment.