#include <iostream>
#include <algorithm>
#include <cassert>
#include <cmath>
#include "./WTASimTypes.h"
Go to the source code of this file.
|
| template<typename T> |
| static void | SortByPt (std::vector< T > &list) |
◆ SortByPt()
template<typename T>
| void SortByPt |
( |
std::vector< T > & | list | ) |
|
|
static |
Definition at line 16 of file WTAObject.h.
17 {
19 [](
const T &
a,
const T &b)
20 {
21 return a.pt() > b.pt();
22 }
23 );
24 }
void stable_sort(DataModel_detail::iterator< DVL > beg, DataModel_detail::iterator< DVL > end)
Specialization of stable_sort for DataVector/List.