From 732503eb30af837e6b2d11eb400a965ebcb36853 Mon Sep 17 00:00:00 2001 From: David Capello Date: Sun, 20 Sep 2020 13:16:14 -0300 Subject: [PATCH] Reword and fix some typos in CODING_STYLE guide --- docs/CODING_STYLE.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/CODING_STYLE.md b/docs/CODING_STYLE.md index 732acec22..eeddccf33 100644 --- a/docs/CODING_STYLE.md +++ b/docs/CODING_STYLE.md @@ -77,11 +77,11 @@ private: ## C++11 -We are using some C++11 features, mainly: +We are using some modern C++ (C++11, C++14, etc.) features, mainly: * Use `nullptr` instead of `NULL` macro -* Use `auto` for complex types, iterators, or when it's variable type - obvious (e.g. `auto s = new Sprite;`) +* Use `auto` for complex types, iterators, or when the variable type + is obvious (e.g. `auto s = new Sprite;`) * Use range-based for loops (`for (const auto& item : values) { ... }`) * Use template alias (`template alias = orig;`) * Use non-generic lambda functions