Import Geant4 10.4.0 source tree
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user