diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 2f00f37..e1864b5 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -18865,11 +18865,11 @@ It is common to need an initial set of elements. template class Vector { public: - vector>; + Vector(std::initializer_list); // ... }; - Vector vs = { "Nygaard", "Ritchie" }; + Vector vs { "Nygaard", "Ritchie" }; ##### Enforcement