Logo Search packages:      
Sourcecode: ragel version File versions

template<class T, class Resize = ResizeExpn>
SVector< T, Resize >::prepend ( const T &  val  )  [inline]

Prepend one elment to the front of the vector.

Copy constructor is used to place the element in the vector.

Definition at line 175 of file svectcommon.h.

{ insert(0, &val, 1); }

Generated by  Doxygen 1.6.0   Back to index