Skip to content

Commit dc9b070

Browse files
for_each_n example update (#3933)
1 parent b1dda12 commit dc9b070

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎docs/standard-library/algorithm-functions.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2270,9 +2270,9 @@ The complexity is linear with at most *`count`* operations.
22702270
```cpp
22712271
// alg_for_each_n.cpp
22722272
// compile with: /EHsc
2273-
#include <iostream>
2274-
#include <algorithm>
22752273
#include <vector>
2274+
#include <algorithm>
2275+
#include <iostream>
22762276

22772277
// The function object multiplies an element by a Factor
22782278
template <class Type>

0 commit comments

Comments
 (0)