Problem 1892

Summary: G4ProcessVector misses begin and end methods
Product: Geant4 Reporter: Andrea Dotti <andrea.dotti>
Component: processesAssignee: Andrea Dotti <andrea.dotti>
Status: RESOLVED WONTFIX    
Severity: minor    
Priority: P4    
Version: other   
Hardware: All   
OS: All   

Description Andrea Dotti 2016-09-22 19:33:40 CEST
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
Comment 1 Andrea Dotti 2018-02-08 17:14:34 CET
No manpower for now can be assigned to this