lowercase Class Reference

Inheritance diagram for lowercase:

function

List of all members.

Public Member Functions

 lowercase (std::locale loc)
 Cache the locale.
char operator() (char ch) const


Detailed Description

Convert to lowercase. Use a canonical form by converting to uppercase first, and then to lowercase.

Definition at line 108 of file word_count.cpp.


Member Function Documentation

char lowercase::operator() ( char  ch  )  const [inline]

Convert to lowercase

Parameters:
ch The character to convert.
Returns:
the character ch in lowercase or ch unchanged if it has no lowercase equivalent.

Definition at line 117 of file word_count.cpp.

References function::tolower().


The documentation for this class was generated from the following file:
Generated on Sun Nov 30 09:53:23 2008 for Exploring C++ - Final Forms of Key Examples by  doxygen 1.5.3