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