| 291 | // Converts the elements of the given string. This version uses a pointer to |
| 292 | // clearly differentiate it from the non-pointer variant. |
| 293 | template <class str> inline void StringToLowerASCII(str* s) { |
| 294 | for (typename str::iterator i = s->begin(); i != s->end(); ++i) |
| 295 | *i = butil::ToLowerASCII(*i); |
| 296 | } |
| 297 | |
| 298 | template <class str> inline str StringToLowerASCII(const str& s) { |
| 299 | // for std::string and std::wstring |
no test coverage detected