문장의 문자들을 모두 소문자로 바꾸고 싶다면

transform(my_string.begin(), my_string.end(), my_string.begin(), ::tolower);