Standard C++ Library Reference
<cctype>

Defines the macros traditionally defined in the Standard C library header <ctype.h>.

#if <TRADITIONAL C HEADERS>
   #include <ctype.h>
namespace std {
   using ::isalnum; 
   using ::isalpha; 
   using ::iscntrl;
   using ::isdigit; 
   using ::isgraph; 
   using ::islower;
   using ::isprint; 
   using ::ispunct; 
   using ::isspace;
   using ::isupper; 
   using ::isxdigit; 
   using ::tolower;
   using ::toupper;
}
#endif
Remarks

Including this header also ensures that the names declared with external linkage in the Standard C library header are declared in the std namespace. In this implementation, the names may or may not also be declared in the global namespace, depending on the specific translation environment.

See Also

Reference

Standard C++ Library Overview
Thread Safety in the Standard C++ Library

Other Resources

Standard C++ Library Header Files

タグ :


Page view tracker