mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2025-12-17 20:54:41 +03:00
Fix example in SF.4
This commit is contained in:
@@ -10411,7 +10411,7 @@ The user of `bar` cannot know if the interface used is complete and correct. At
|
||||
**Example**:
|
||||
|
||||
#include<vector>
|
||||
#include<algorithms>
|
||||
#include<algorithm>
|
||||
#include<string>
|
||||
|
||||
// ... my code here ...
|
||||
@@ -10419,11 +10419,12 @@ The user of `bar` cannot know if the interface used is complete and correct. At
|
||||
**Example, bad**:
|
||||
|
||||
#include<vector>
|
||||
#include<algorithms>
|
||||
#include<string>
|
||||
|
||||
// ... my code here ...
|
||||
|
||||
#include<algorithm>
|
||||
#include<string>
|
||||
|
||||
**Note**: This applies to both `.h` and `.cpp` files.
|
||||
|
||||
**Exception**: Are there any in good code?
|
||||
|
||||
Reference in New Issue
Block a user