/////////////////////////////////////////////////////////////////////////////////////////
| 642 | /// |
| 643 | /// |
| 644 | std::string lower( const std::string & str ) |
| 645 | { |
| 646 | std::string s( str ); |
| 647 | std::string::size_type len = s.size(), i; |
| 648 | |
| 649 | for ( i = 0; i < len; ++i ) |
| 650 | { |
| 651 | if ( ::isupper( s[i] ) ) s[i] = ::tolower( s[i] ); |
| 652 | } |
| 653 | |
| 654 | return s; |
| 655 | } |
| 656 | |
| 657 | ////////////////////////////////////////////////////////////////////////////////////////////// |
| 658 | /// |
no test coverage detected