ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-2.0/src/utils/CaseConversion.hpp
(Generate patch)

Comparing trunk/OOPSE-2.0/src/utils/CaseConversion.hpp (file contents):
Revision 2212 by tim, Fri Apr 22 21:52:51 2005 UTC vs.
Revision 2516 by tim, Fri Dec 16 18:55:55 2005 UTC

# Line 43 | Line 43
43  
44   #include <cctype>
45   #include <locale>
46 <
46 > #include <algorithm>
47 > #include <functional>
48   namespace oopse {
49  
50      /** tolower functor */
51      struct toLowerFunctor : public std::unary_function<char, char> {
52 <        toLowerFunctor( const std::locale& loc ) : loc( loc ) {}
52 >        toLowerFunctor( const std::locale& loc ) : loc_( loc ) {}
53          char operator()(char c) const {
54              return std::tolower(c, loc_);
55          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines