Changeset 919 for trunk/yat/utility/stl_utility.cc
- Timestamp:
- Sep 30, 2007, 3:38:30 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/yat/utility/stl_utility.cc
r865 r919 33 33 namespace utility { 34 34 35 voidto_lower(std::string& s)35 std::string& to_lower(std::string& s) 36 36 { 37 37 transform(s.begin(),s.end(), s.begin(), tolower); 38 return s; 38 39 } 39 40 40 41 41 voidto_upper(std::string& s)42 std::string& to_upper(std::string& s) 42 43 { 43 44 transform(s.begin(),s.end(), s.begin(), toupper); 45 return s; 44 46 } 45 47
Note: See TracChangeset
for help on using the changeset viewer.