From 56c319d46a612ecdede03891d02348c776732313 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20K=C3=A4lberer?= Date: Sat, 3 Oct 2015 18:55:07 +0200 Subject: [PATCH] Fix minor typos and spacing --- CppCoreGuidelines.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 06c16fc..8bedce2 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -7400,11 +7400,11 @@ For containers, there is a tradition for using `{...}` for a list of elements an Initialization of a variable declared `auto` with a single value `{v}` surprising results until recently: - auto x1 {7}; // x1 is sn int with the value 7 - auto x2 = {7}; // x2 is and initializer_int with an element 7 + auto x1 {7}; // x1 is an int with the value 7 + auto x2 = {7}; // x2 is an initializer_int with an element 7 - auto x11 {7, 8}; // error: two initializers - auto x22 = {7, 8}; // x2 is and initializer_int with elements 7 and 8 + auto x11 {7, 8}; // error: two initializers + auto x22 = {7, 8}; // x2 is an initializer_int with elements 7 and 8 ##### Exception