Template Function gpa::playback::detail::SortVectorAndRemoveDuplicates(std::vector<T>&, ComparisonFunctionType)
Function Documentation
-
template<typename T, typename ComparisonFunctionType>
inline void gpa::playback::detail::SortVectorAndRemoveDuplicates(std::vector<T> &vector, ComparisonFunctionType comparisonFunction) Sorts a std::vector<> and removes all duplicates.
- Parameters
<T> -- The type of the std::vector<> to sort and remove duplicates from
<ComparisonFunctionType> -- The type of function to use to compare elements of the given std::vector<>
vector -- [in] The std::vector<> to sort and remove duplicates from
comparisonFunction -- [in] The functino to use to compare elements of the given std::vector<>