Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
|
std::string::compare
or G4StrUtil::icompare
instead G4StrUtil::contains
instead G4StrUtil::contains
instead std::string
compliance If passing G4String
to functions requiring const char*
, use std::string::c_str
to explicitly convert. G4String
also implicitly converts to std::string_view
to match the std::string
interface. operator const char*
that requires it std::getline
plus G4StrUtil::lstrip
instead std::string::erase
instead G4StrUtil
functions instead G4StrUtil
functions instead G4StrUtil
functions instead std::getline
instead of this function, plus G4StrUtil::lstrip
if leading whitespace removal is required. std::string::erase
if the start index is already checked, or otherwise known, to be in range. Otherwise, implement the index-size comparison instead of using this function.