Skip to content

Commit 2e0f145

Browse files
authored
enhancement / typo
correcting a typo.
1 parent 73d4af0 commit 2e0f145

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/standard-library/algorithm-functions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9445,7 +9445,7 @@ int main()
94459445
v1_NewEnd3 = unique ( v1.begin( ), v1_NewEnd2, greater<int>( ) );
94469446

94479447
cout << "Removing adjacent elements satisfying the binary\n "
9448-
<< " predicate mod_equal from vector v1 gives ( " ;
9448+
<< " predicate greater<int> from vector v1 gives ( " ;
94499449
for ( v1_Iter3 = v1.begin( ) ; v1_Iter3 != v1_NewEnd3 ; v1_Iter3++ )
94509450
cout << *v1_Iter3 << " ";
94519451
cout << ")." << endl;
@@ -9460,7 +9460,7 @@ Removing adjacent duplicates from vector v1 under the
94609460
binary predicate mod_equal gives
94619461
( 5 4 7 ).
94629462
Removing adjacent elements satisfying the binary
9463-
predicate mod_equal from vector v1 gives ( 5 7 ).
9463+
predicate greater<int> from vector v1 gives ( 5 7 ).
94649464
```
94659465

94669466
## <a name="unique_copy"></a> `unique_copy`

0 commit comments

Comments
 (0)