Import Geant4 11.4.0 source tree

This commit is contained in:
Gabriele Cosmo
2025-12-05 08:54:02 +01:00
parent a499fb82e9
commit b4a16de652
6484 changed files with 232674 additions and 221097 deletions
-15
View File
@@ -6,8 +6,6 @@
#include <cstdlib>
#include "sto"
namespace tools {
inline bool is_env(const std::string& a_string){
@@ -26,19 +24,6 @@ inline bool get_env(const std::string& a_string,std::string& a_value){
}
}
template <class T>
inline bool get_env(const std::string& a_string,T& a_v,const T& a_def = T()){
std::string _s;
if(!get_env(a_string,_s)) {a_v = a_def;return false;}
return to<T>(_s,a_v,a_def);
}
inline bool get_env_bool(const std::string& a_string,bool& a_v){
std::string _s;
if(!get_env(a_string,_s)) return false;
return to(_s,a_v);
}
}
#endif