26 #ifndef G4HadTmpUtil_hh
27 #define G4HadTmpUtil_hh 1
41 {
return *
theA < (*right); }
47 template<
class A>
void G4PtrSort(std::vector<A *> * aList)
49 std::vector<G4SortHelperPtr<A> > helper;
50 for(
size_t i=0; i<aList->size(); i++) helper.push_back(aList->operator[](i));
51 std::sort(helper.begin(), helper.end());
52 for(
size_t j=0; j<helper.size(); j++) aList->operator[](j)=&(*helper[j]);
void G4PtrSort(std::vector< A * > *aList)
G4String G4inttostring(int ai)
static const G4double A[nN]