You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
275 B
15 lines
275 B
4 months ago
|
#include "strings/case.h"
|
||
|
|
||
|
#include "strings/ascii_ctype.h"
|
||
|
|
||
|
namespace dynamic_depth {
|
||
|
|
||
|
void LowerString(string* s) {
|
||
|
string::iterator end = s->end();
|
||
|
for (string::iterator i = s->begin(); i != end; ++i) {
|
||
|
*i = ascii_tolower(*i);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
} // namespace dynamic_depth
|