template<class type>
Inserts item d into the list in its correct sorted order.
Definition at line 100 of file qptrvector.h. 00101 { 00102 for(typename std::vector<type *>::iterator it=std::vector<type *>::begin(); it!=std::vector<type *>::end(); ++it) 00103 { 00104 if(compareItems(*it, const_cast<type *>(d))>=0) 00105 { 00106 FXEXCEPTION_STL1 { std::vector<type *>::insert(it, const_cast<type *>(d)); } FXEXCEPTION_STL2; 00107 } 00108 } 00109 }
|