Skip to content

Commit 1a3de0e

Browse files
add a cross reference to P.3
1 parent 2839c87 commit 1a3de0e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CppCoreGuidelines.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -594,6 +594,7 @@ Now, there is no explicit mention of the iteration mechanism, and the loop opera
594594

595595
for (auto& x : v) { /* modify x */ }
596596

597+
For more details about for-statements, see [ES.71](#Res-for-range).
597598
Sometimes better still, use a named algorithm:
598599

599600
for_each(v, [](int x) { /* do something with the value of x */ });

0 commit comments

Comments
 (0)