diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 14e4f01..5983e6c 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -19096,12 +19096,12 @@ Avoid surprises. Avoid having to change `#include`s if an `#include`d header changes. Avoid accidentally becoming dependent on implementation details and logically separate entities included in a header. -##### Example +##### Example, bad #include using namespace std; - void use() // bad + void use() { string s; cin >> s; // fine