Fix initializer list example

This commit is contained in:
Thibault Kruse 2016-08-26 03:47:38 +02:00
parent 3acba2ebae
commit 6a39a88bf8

View File

@ -18865,11 +18865,11 @@ It is common to need an initial set of elements.
template<typename T> class Vector { template<typename T> class Vector {
public: public:
vector<std::initializer_list<T>>; Vector(std::initializer_list<T>);
// ... // ...
}; };
Vector<string> vs = { "Nygaard", "Ritchie" }; Vector<string> vs { "Nygaard", "Ritchie" };
##### Enforcement ##### Enforcement