|
|
|
template<class RandomAccessIterator, class StrictWeakOrdering> |
| void inplaceds::insert_dynamic_sorted_vector |
( |
RandomAccessIterator |
first, |
|
|
RandomAccessIterator |
last, |
|
|
StrictWeakOrdering |
comp |
|
) |
|
|
|
|
Adds an element to the dynamic sorted vector. The element to be added to the dynamic sorted vector is at iterator (last-1) .
- Precondition:
- Range [
first, last-1) must be valid dynamic sorted vector.
- Postcondition:
- Range [
first, last) is a valid dynamic sorted vector.
- Parameters:
-
| first | RandomAccessIterator to the first element in the sequence |
| last | RandomAccessIterator to one past the last element in the sequence |
| comp | Comparison function object |
- Requirements on types:
-
Definition at line 215 of file dynamic_sorted_vector.hpp. |
|