mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
commit
11b32170c1
|
@ -7192,7 +7192,15 @@ This will copy each elements of `vs` into `s`. Better
|
|||
|
||||
**Example**:
|
||||
|
||||
???
|
||||
for (int i = 0; i < vec.size(); i++) {
|
||||
// do work
|
||||
}
|
||||
|
||||
int i = 0;
|
||||
while (i < vec.size()) {
|
||||
// do work
|
||||
i++;
|
||||
}
|
||||
|
||||
**Enforcement**: ???
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user