Код: Выделить всё
std::string Converter::tolower(const std::string &value)
{
std::string data = value;
std::transform( data.begin(), data.end(), data.begin(), [](unsigned char c) { return std::tolower( c );});
return data;
}
Подробнее здесь: https://stackoverflow.com/questions/796 ... nsafe-code
Мобильная версия