34 #define INCLXX_IN_GEANT4_MODE 1
45 #ifndef G4INCLUNORDEREDVECTOR_HH_
46 #define G4INCLUNORDEREDVECTOR_HH_
51 #if !defined(NDEBUG) && !defined(INCLXX_IN_GEANT4_MODE)
57 template class std::vector<G4INCL::Particle*>;
66 using std::vector<T>::push_back;
67 using std::vector<T>::pop_back;
68 using std::vector<T>::size;
69 using std::vector<T>::begin;
70 using std::vector<T>::end;
71 using std::vector<T>::rbegin;
72 using std::vector<T>::rend;
73 using std::vector<T>::front;
74 using std::vector<T>::back;
76 using std::vector<T>::empty;
77 using std::vector<T>::insert;
78 using std::vector<T>::erase;
79 using std::vector<T>::operator[];
80 using std::vector<T>::reserve;
81 using std::vector<T>::resize;
82 using std::vector<T>::at;
83 using typename std::vector<T>::iterator;
84 using typename std::vector<T>::reverse_iterator;
85 using typename std::vector<T>::const_iterator;
86 using typename std::vector<T>::const_reverse_iterator;
88 void remove(
const T &t) {
89 const typename std::vector<T>::iterator removeMe = std::find(begin(), end(), t);
96 return (std::find(begin(), end(), t)!=end());
102 #endif // G4INCLUNORDEREDVECTOR_HH_
G4bool contains(const T &t) const