mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
Fix example in SF.4
This commit is contained in:
parent
2e5b16736b
commit
66a1bc8e58
|
@ -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?
|
||||
|
|
Loading…
Reference in New Issue
Block a user