It supports any member and friend function of that class. Additionally it provides functions for sorting and searching, inserting and deleting.
T can be either a built-in type or a class.
Furthermore, specific compare functions may be used to define a relation of elements of type T . These functions define a new sort relation for a vector. There are three different prototypes for this sort routine that allow a variety of calls of the functions. These default values will be indicated by ''DEF''. It is possible to restrict the sort routine to a part of a vector by explicitly passing on the starting and ending indices to this function.