Fixed a typo within ES.23

This commit is contained in:
Martin
2018-10-10 21:49:09 +02:00
committed by Jonathan Wakely
parent e81d770bdc
commit 0b275097b6
2 changed files with 2 additions and 1 deletions

View File

@@ -10508,7 +10508,7 @@ The C++17 rules are somewhat less surprising:
auto x2 = {7}; // x2 is an initializer_list<int> with an element 7
auto x11 {7, 8}; // error: two initializers
auto x22 = {7, 8}; // x2 is an initializer_list<int> with elements 7 and 8
auto x22 = {7, 8}; // x22 is an initializer_list<int> with elements 7 and 8
So use `={...}` if you really want an `initializer_list<T>`