Logo Search packages:      
Sourcecode: ragel version File versions

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

Prepend the contents of another vector.

The other vector is left unchanged. Copy constructors are used to place the elements in the vector.

Definition at line 181 of file svectcommon.h.

References STable< T >::data, and STable< T >::length().

{ insert(0, v.data, v.length()); }

Generated by  Doxygen 1.6.0   Back to index