template<typename type, class allocator>
bool FX::QMemArray< type, allocator >::fill ( const type &  val,
int  newsize = -1 
) [inline]

Fills the array with value val.

Definition at line 135 of file qmemarray.h.

00136     {
00137         if(-1!=newsize) resize(newsize);
00138         for(FXuval n=0; n<size(); n++)
00139         {
00140             at(n)=val;
00141         }
00142         return true;
00143     }


(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