template<class type, class allocator>
Removes the item at index i without auto-deletion.
Definition at line 165 of file qptrlist.h. References FX::QPtrList< type, allocator >::isEmpty(). 00166 { 00167 if(isEmpty()) return 0; // Fails for non-pointer types 00168 typename Base::iterator it=int_idx(i); 00169 type *ret=*it; 00170 Base::erase(it); 00171 return ret; 00172 }
|