| Summary: | G4ProcessVector misses begin and end methods | ||
|---|---|---|---|
| Product: | Geant4 | Reporter: | Andrea Dotti <andrea.dotti> |
| Component: | processes | Assignee: | Andrea Dotti <andrea.dotti> |
| Status: | RESOLVED WONTFIX | ||
| Severity: | minor | ||
| Priority: | P4 | ||
| Version: | other | ||
| Hardware: | All | ||
| OS: | All | ||
No manpower for now can be assigned to this |
Hi please, assign this to me. The class G4ProcessVector is a thin wrapper of std::vector, but it does not provide some methods (in particular begin() and end()) that are needed to use the class in c++11 range loops and other stl algorithms. The entire class could be simply replaced with: struct G4ProcessVector : public std::vector<G4VProcess*> { bool contains( G4VProcess* ) {} }; We could consider this. Andrea