RamVectorSorter

template<typename it_t, typename cmp_t>
struct RamVectorSorter

Sorter for a std::vector.

Template Parameters:
  • it_t – type of std::vector like stl container iterator

  • cmp_t – type of comparison function object (see std::sort)

Public Functions

inline void operator()(it_t xBegin, it_t xEnd, cmp_t xComp) const

sorting function.

Parameters:
  • xBegin – iterator to the first element that shall be sorted.

  • xEnd – iterator to one past the last element that shall be sorted.

  • xComp – comparison function object (see std::sort)