- FreeMode
- FreeMode
- Reserve
- Resize
- Clear
- Shutdown
- CreateElement
- Add
- AddArray
- Insert
- InsertArray
- AssignArray
- Update
- Shift
- Detach
- Delete
- DeleteRange
- At
- CompareArray
- InsertSort
- Search
- SearchGreat
- SearchLess
- SearchGreatOrEqual
- SearchLessOrEqual
- SearchFirst
- SearchLast
- Save
- Load
- Type
InsertSort
Inserisce un elemento in un array ordinato.
bool InsertSort(
|
Parametri
element
[in] Valore dell'elemento da inserire in un array ordinato
Valore di ritorno
true - successo, false - non posso inserire l'elemento.
Nota
L' elemento non viene aggiunto all' arrat se un puntatore non valido (ad esempio NULL) viene passato come parametro.
Esempio:
//--- esempio per CArrayObj::InsertSort(CObject*)
|