From 93ac723f6b001d6ec589b73148520898567efe5b Mon Sep 17 00:00:00 2001 From: hsutter Date: Mon, 16 Apr 2018 11:26:15 -0700 Subject: [PATCH] Fixed rest of T.12 example following up #1189 --- CppCoreGuidelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 8327ab3..670a8e6 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -16408,7 +16408,7 @@ Hard. ##### Example (using TS concepts) - vector v; + vector v{ "abc", "xyz" }; auto& x = v.front(); // bad String& s = v.front(); // good (String is a GSL concept)