diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index e999f36..7a02c2b 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -10508,7 +10508,7 @@ The C++17 rules are somewhat less surprising: auto x2 = {7}; // x2 is an initializer_list with an element 7 auto x11 {7, 8}; // error: two initializers - auto x22 = {7, 8}; // x2 is an initializer_list with elements 7 and 8 + auto x22 = {7, 8}; // x22 is an initializer_list with elements 7 and 8 So use `={...}` if you really want an `initializer_list` diff --git a/scripts/hunspell/isocpp.dic b/scripts/hunspell/isocpp.dic index c61eb7b..1bab14e 100644 --- a/scripts/hunspell/isocpp.dic +++ b/scripts/hunspell/isocpp.dic @@ -621,6 +621,7 @@ WG21 'widen' x1 x2 +x22 xmax xor Xs