template<class type, class allocator>
Returns the index of the position of item d via pointer compare, or -1 if not found.
Definition at line 276 of file qptrlist.h. 00277 { 00278 int idx=0; 00279 for(typename Base::iterator it=Base::begin(); it!=Base::end(); ++it, ++idx) 00280 { 00281 if(*it==d) return idx; 00282 } 00283 return -1; 00284 }
|