Skip to content

Commit

Permalink
Minor typos fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gumb0 committed Dec 29, 2017
1 parent d07b67b commit 24d8e31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CODING_STYLE.md
Expand Up @@ -28,7 +28,7 @@ Use clang-format tool to format your changes, see [CONTRIBUTING](CONTRIBUTING.md
- Copyright.
- License.
2. Never use `#ifdef`/`#define`/`#endif` file guards. Prefer #pragma once as first line below file comment.
2. Never use `#ifdef`/`#define`/`#endif` file guards. Prefer `#pragma` once as first line below file comment.
3. Prefer static const variable to value macros.
4. Prefer inline constexpr functions to function macros.
Expand Down Expand Up @@ -134,7 +134,7 @@ Prefer exception to bool/int return type.

1. Collection conventions:
- `...s` means `std::vector` e.g. `using MyTypes = std::vector<MyType>`
- `-...Set` means `std::set` e.g. `using MyTypeSet = std::set<MyType>`
- `...Set` means `std::set` e.g. `using MyTypeSet = std::set<MyType>`
- `...Hash` means `std::unordered_set` e.g. `using MyTypeHash = std::unordered_set<MyType>`
2. Class conventions:
- `...Face` means the interface of some shared concept. (e.g. `FooFace` might be a pure virtual class.)
Expand Down

0 comments on commit 24d8e31

Please sign in to comment.