template<class type>
Removes the specified item d via pointer compare (quicker) without auto-deletion.
Definition at line 194 of file qptrvector.h. 00195 { 00196 for(typename std::vector<type *>::iterator it=std::vector<type *>::begin(); it!=std::vector<type *>::end(); ++it) 00197 { 00198 if(*it==d) 00199 { 00200 std::vector<type *>::erase(it); 00201 return true; 00202 } 00203 } 00204 return false; 00205 }
|