Changeset 919
- Timestamp:
- Sep 30, 2007, 3:38:30 AM (15 years ago)
- Location:
- trunk/yat/utility
- Files:
-
- 2 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 -
trunk/yat/utility/stl_utility.h
r869 r919 121 121 /// @brief Function converting a string to lower case 122 122 /// 123 voidto_lower(std::string& s);123 std::string& to_lower(std::string& s); 124 124 125 125 /// 126 126 /// @brief Function converting a string to upper case 127 127 /// 128 voidto_upper(std::string& s);128 std::string& to_upper(std::string& s); 129 129 130 130 }}} // of namespace utility, yat, and theplu
Note: See TracChangeset
for help on using the changeset viewer.