const vector_view vector::subvector ( size_t  offset,
size_t  n 
) const

Functions return a vector view of a subvector of another vector v declared as const.

Parameters:
offset: New vector offset by this many elements from start of old vector
n: number of elements in new vector

This function is same as vector_view subvector but can be used for vectors which are declared const.

 All Classes Files Functions Variables Typedefs Friends Defines