template<typename type, class allocator>
FXival FX::QMemArray< type, allocator >::find ( const type &  val,
FXuval  i = 0 
) const [inline]

Returns the index of val starting the search from i, returning -1 if not found.

Definition at line 170 of file qmemarray.h.

00171     {
00172         for(; i<size(); i++)
00173         {
00174             if(at(i)==val) return i;
00175         }
00176         return -1;
00177     }


(C) 2002-2009 Niall Douglas. Some parts (C) to assorted authors.
Generated on Fri Nov 20 18:37:41 2009 for TnFOX by doxygen v1.4.7