- Reserve
- Resize
- Shutdown
- Add
- AddArray
- AddArray
- Insert
- InsertArray
- InsertArray
- AssignArray
- AssignArray
- Update
- Shift
- Delete
- DeleteRange
- At
- CompareArray
- CompareArray
- InsertSort
- Search
- SearchGreat
- SearchLess
- SearchGreatOrEqual
- SearchLessOrEqual
- SearchFirst
- SearchLast
- SearchLinear
- Save
- Load
- Type
InsertSort
Inserts an element in a sorted array.
bool InsertSort(
|
Parameters
element
[in] Value of the element to be inserted into a sorted array
Return Value
true - successful, false - cannot insert the element.
Example:
//--- example for CArrayShort::InsertSort(short)
|