Import Geant4 10.4.0 source tree

This commit is contained in:
Gabriele Cosmo
2017-12-08 12:52:30 +01:00
parent 98e455a940
commit fc6af9e721
2166 changed files with 276760 additions and 100873 deletions
@@ -41,6 +41,10 @@ inline bool replace(std::string& a_string,const std::string& a_old,const std::st
return status;
}
inline bool replace_(std::string& a_string,const std::string& a_old,const std::string& a_new) {
return replace(a_string,a_old,a_new);
}
inline bool replace(std::vector<std::string>& a_strings,const std::string& a_old,const std::string& a_new){
tools_vforit(std::string,a_strings,it) {
if(!replace(*it,a_old,a_new)) return false;