📅  最后修改于: 2022-03-11 14:44:46.742000             🧑  作者: Mango
for(std::string &s : stringVector){
std::transform(s.begin(), s.end(), s.begin(),
[](char c){ return std::toupper(c); }); // for lowercase change "toupper" -> "tolower"
}