You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Returns **`true`** if the elements in the specified range form a heap.
2918
+
Returns **`true`**, if the elements in the specified range form a heap.
2919
2919
2920
2920
```cpp
2921
2921
template<class RandomAccessIterator>
@@ -6496,7 +6496,7 @@ The order of the elements not removed remains stable.
6496
6496
6497
6497
The `operator==` used to determine the equality between elements must impose an equivalence relation between its operands.
6498
6498
6499
-
The complexity is linear; there are (`last` - `first`) comparisons for equality.
6499
+
The complexity is linear with (`last` - `first`) comparisons for equality.
6500
6500
6501
6501
The [`list` class](list-class.md) has a more efficient member function version of `remove`, which also relinks pointers.
6502
6502
@@ -6605,7 +6605,7 @@ The order of the elements not removed remains stable.
6605
6605
6606
6606
The `operator==` used to determine the equality between elements must impose an equivalence relation between its operands.
6607
6607
6608
-
The complexity is linear; there are (`last` - `first`) comparisons for equality and at most (`last` - `first`) assignments.
6608
+
The complexity is linear with (`last` - `first`) comparisons for equality and at most (`last` - `first`) assignments.
6609
6609
6610
6610
### Example
6611
6611
@@ -6710,7 +6710,7 @@ The order of the elements not removed remains stable.
6710
6710
6711
6711
The `operator==` used to determine the equality between elements must impose an equivalence relation between its operands.
6712
6712
6713
-
The complexity is linear: there are (`last` - `first`) comparisons for equality and at most (`last` - `first`) assignments.
6713
+
The complexity is linear with (`last` - `first`) comparisons for equality and at most (`last` - `first`) assignments.
6714
6714
6715
6715
For information on how these functions behave, see [Checked Iterators](checked-iterators.md).
6716
6716
@@ -6818,7 +6818,7 @@ The order of the elements not removed remains stable.
6818
6818
6819
6819
The `operator==` used to determine the equality between elements must impose an equivalence relation between its operands.
6820
6820
6821
-
The complexity is linear: there are (`last` - `first`) comparisons for equality.
6821
+
The complexity is linear with (`last` - `first`) comparisons for equality.
6822
6822
6823
6823
List has a more efficient member function version of remove which relinks pointers.
6824
6824
@@ -6928,7 +6928,7 @@ The order of the elements not replaced remains stable.
6928
6928
6929
6929
The `operator==` used to determine the equality between elements must impose an equivalence relation between its operands.
6930
6930
6931
-
The complexity is linear; there are (`last` - `first`) comparisons for equality and at most (`last` - `first`) assignments of new values.
6931
+
The complexity is linear with (`last` - `first`) comparisons for equality and at most (`last` - `first`) assignments of new values.
6932
6932
6933
6933
### Example
6934
6934
@@ -7031,7 +7031,7 @@ The order of the elements not replaced remains stable.
7031
7031
7032
7032
The `operator==` used to determine the equality between elements must impose an equivalence relation between its operands.
7033
7033
7034
-
The complexity is linear: there are (`last` - `first`) comparisons for equality and at most (`last` - `first`) assignments of new values.
7034
+
The complexity is linear with (`last` - `first`) comparisons for equality and at most (`last` - `first`) assignments of new values.
7035
7035
7036
7036
### Example
7037
7037
@@ -7155,7 +7155,7 @@ The order of the elements not replaced remains stable.
7155
7155
7156
7156
The `operator==` used to determine the equality between elements must impose an equivalence relation between its operands.
7157
7157
7158
-
The complexity is linear; there are (`last` - `first`) comparisons for equality and at most (`last` - `first`) assignments of new values.
7158
+
The complexity is linear with (`last` - `first`) comparisons for equality and at most (`last` - `first`) assignments of new values.
7159
7159
7160
7160
### Example
7161
7161
@@ -7282,7 +7282,7 @@ The algorithm `replace_if` is a generalization of the algorithm `replace`, allow
7282
7282
7283
7283
The `operator==` used to determine the equality between elements must impose an equivalence relation between its operands.
7284
7284
7285
-
The complexity is linear: there are (`last` - `first`) comparisons for equality and at most (`last` - `first`) assignments of new values.
7285
+
The complexity is linear with (`last` - `first`) comparisons for equality and at most (`last` - `first`) assignments of new values.
7286
7286
7287
7287
### Example
7288
7288
@@ -9383,7 +9383,7 @@ The range referenced must be valid; all pointers must be dereferenceable and wit
9383
9383
9384
9384
Elements are equivalent, but not necessarily equal, if neither is less than the other. The `sort` algorithm is stable and guarantees that the relative ordering of equivalent elements will be preserved.
9385
9385
9386
-
The run-time complexity of `stable_sort` depends on the amount of memory available, but the best case (given sufficient memory) is `O(N log N)` and the worst case is `O(N (log N)^2)`, where *N* = *`last`* - *`first`*. Usually, the `sort` algorithm is significantly faster than `stable_sort`.
9386
+
The run-time complexity of `stable_sort` depends on the amount of memory available, but the best case (given sufficient memory) is `O(N log N)` and the worst case is `O(N (log N)^2)`, where *N* = *`last`* - *`first`*. Usually, the `sort` algorithm is faster than `stable_sort`.
Copy file name to clipboardExpand all lines: docs/standard-library/basic-ios-class.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -208,7 +208,7 @@ The **`this`** object for the stream to which you're copying the flags.
208
208
209
209
### Remarks
210
210
211
-
The member function reports the callback event **`erase_event`**. It then copies from *`right`* into **`*this`** the fill character, the tie pointer, and the formatting information. Before altering the exception mask, it reports the callback event `copyfmt_event`. If, after the copy is complete, `state&exceptions` is nonzero, the function effectively calls [`clear`](#clear) with the argument [`rdstate`](#rdstate). It returns **`*this`**.
211
+
The member function reports the callback event **`erase_event`**. It then copies from *`right`* into **`*this`** the fill character, the tie pointer, and the formatting information. Before altering the exception mask, it reports the callback event `copyfmt_event`. If after the copy is complete, `state&exceptions` is nonzero, the function effectively calls [`clear`](#clear) with the argument [`rdstate`](#rdstate). It returns **`*this`**.
212
212
213
213
### Example
214
214
@@ -290,7 +290,7 @@ The flags that are currently specified to thrown an exception for the stream.
290
290
291
291
### Remarks
292
292
293
-
The first member function returns the stored exception mask. The second member function stores *`_Except`* in the exception mask and returns its previous stored value. Note that storing a new exception mask can throw an exception just like the call [`clear`](#clear)( [`rdstate`](#rdstate) ).
293
+
The first member function returns the stored exception mask. The second member function stores *`_Except`* in the exception mask and returns its previous stored value. Storing a new exception mask can throw an exception just like the call [`clear`](#clear)( [`rdstate`](#rdstate) ).
0 commit comments