diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 11b2645..2ed28a0 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -387,7 +387,7 @@ A much clearer expression of intent would be: string val; cin >> val; // ... - auto p = find(v, val); // better + auto p = find(begin(v), end(v), val); // better // ... }