From d76404938b6c01eb47c265b1f9f2540fac7953d4 Mon Sep 17 00:00:00 2001 From: hsutter Date: Thu, 2 May 2019 11:37:37 -0700 Subject: [PATCH] Changed title back to original, it's fine --- CppCoreGuidelines.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index cb8f01c..c0547ff 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -9839,7 +9839,7 @@ Declaration rules: * [ES.20: Always initialize an object](#Res-always) * [ES.21: Don't introduce a variable (or constant) before you need to use it](#Res-introduce) * [ES.22: Don't declare a variable until you have a value to initialize it with](#Res-init) -* [ES.23: Avoid the `()`-initializer syntax](#Res-list) +* [ES.23: Prefer the `{}`-initializer syntax](#Res-list) * [ES.24: Use a `unique_ptr` to hold pointers](#Res-unique) * [ES.25: Declare an object `const` or `constexpr` unless you want to modify its value later on](#Res-const) * [ES.26: Don't use a variable for two unrelated purposes](#Res-recycle) @@ -10647,7 +10647,7 @@ For initializers of moderate complexity, including for `const` variables, consid * Flag declarations with default initialization that are assigned to before they are first read. * Flag any complicated computation after an uninitialized variable and before its use. -### ES.23: Avoid the `()`-initializer syntax +### ES.23: Prefer the `{}`-initializer syntax ##### Reason