Logo Search packages:      
Sourcecode: ragel version File versions

template<class T, class Resize = ResizeExpn>
SVector< T, Resize >::remove ( long  pos  )  [inline]

Remove one element at position pos.

The element's destructor is called. Elements to the right of pos are shifted one space to the left to take up the free space. If pos is greater than or equal to the length of the vector then undefined behavior results. If pos is negative then it is treated as an offset relative to the length of the vector.

Definition at line 107 of file svectcommon.h.

{ remove(pos, 1); }

Generated by  Doxygen 1.6.0   Back to index