<cwctype>

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

#if <TRADITIONAL C HEADERS>
   #include <wctype.h>
namespace std {
   using ::iswalnum; 
   using ::iswalpha; 
   using ::iswcntrl;
   using ::iswctype; 
   using ::iswdigit; 
   using ::iswgraph;
   using ::iswlower; 
   using ::iswprint; 
   using ::iswpunct;
   using ::iswspace; 
   using ::iswupper; 
   using ::iswxdigit;
   using ::towctrans; 
   using ::towlower; 
   using ::towupper;
   using ::wctrans; 
   using ::wctrans_t; 
   using ::wctype;
   using ::wctype_t;
   using ::wint_t; 
}

#undef iswalnum
#undef iswalpha
#undef iswcntrl
#undef iswctype
#undef iswdigit
#undef iswgraph
#undef iswlower
#undef iswprint
#undef iswpunct
#undef iswspace
#undef iswupper
#undef iswxdigit
#undef towctrans
#undef towlower
#undef towupper
#undef wctrans
#undef wctype

#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

Header Files