Skip to content

Commit

Permalink
Update cpp-code-standards.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Kitzunu authored Jan 5, 2025
1 parent 2dfec11 commit 04d4104
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/cpp-code-standards.md
Original file line number Diff line number Diff line change
Expand Up @@ -314,3 +314,16 @@ static keyword always should be put as first
static uint32 someVar = 5;
static float const otherVar = 1.0f;
```

### Header Guards

All Header files should contain header guards

```cpp
#ifndef MY_HEADER_H
#define MY_HEADER_H

// Header content here

#endif // MY_HEADER_H
```

0 comments on commit 04d4104

Please sign in to comment.