wxWidgets: /home/Hamis/wxwidgets/wxWidgets3.0/wxWidgets3.0-3.0.5.1-2.i686/src/wxWidgets-3.0.5.1/interface/wx/vector.h File Reference

| Version: 3.0.5

Classes | Functions
vector.h File Reference

## Classes
class | wxVector< T >
| wxVector<T> is a template class which implements most of the `std::vector` class and can be used like it. More...

## Functions
template<typename T >
void | wxVectorSort (wxVector< T > &v)
| Sort the contents of a `wxVector<T>`. More...

## Function Documentation

## ◆ wxVectorSort()

template<typename T >

void wxVectorSort | ( | wxVector< T > & | v | ) |

Sort the contents of a `wxVector<T>`.

In a STL build this function will be defined as a thin wrapper around std::sort. To be sortable the contained type must support the less-than operator.

wxVector<SomeClass> v;
... // items are added to the vector v...
wxVectorSort(v);
wxVectorSort
void wxVectorSort(wxVector< T > &v)
Sort the contents of a wxVector<T>.

See also
  wxVector<T>