cwctype
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041 #pragma GCC system_header
00042
00043 #include <bits/c++config.h>
00044
00045 #if _GLIBCXX_HAVE_WCTYPE_H
00046 #include <wctype.h>
00047 #endif
00048
00049 #ifndef _GLIBCXX_CWCTYPE
00050 #define _GLIBCXX_CWCTYPE 1
00051
00052
00053 #undef iswalnum
00054 #undef iswalpha
00055 #if _GLIBCXX_HAVE_ISWBLANK
00056 # undef iswblank
00057 #endif
00058 #undef iswcntrl
00059 #undef iswctype
00060 #undef iswdigit
00061 #undef iswgraph
00062 #undef iswlower
00063 #undef iswprint
00064 #undef iswpunct
00065 #undef iswspace
00066 #undef iswupper
00067 #undef iswxdigit
00068 #undef towctrans
00069 #undef towlower
00070 #undef towupper
00071 #undef wctrans
00072 #undef wctype
00073
00074 #if _GLIBCXX_USE_WCHAR_T
00075
00076 _GLIBCXX_BEGIN_NAMESPACE(std)
00077
00078 using ::wctrans_t;
00079 using ::wctype_t;
00080 using ::wint_t;
00081
00082 using ::iswalnum;
00083 using ::iswalpha;
00084 #if _GLIBCXX_HAVE_ISWBLANK
00085 using ::iswblank;
00086 #endif
00087 using ::iswcntrl;
00088 using ::iswctype;
00089 using ::iswdigit;
00090 using ::iswgraph;
00091 using ::iswlower;
00092 using ::iswprint;
00093 using ::iswpunct;
00094 using ::iswspace;
00095 using ::iswupper;
00096 using ::iswxdigit;
00097 using ::towctrans;
00098 using ::towlower;
00099 using ::towupper;
00100 using ::wctrans;
00101 using ::wctype;
00102
00103 _GLIBCXX_END_NAMESPACE
00104
00105 #endif //_GLIBCXX_USE_WCHAR_T
00106
00107 #ifdef __GXX_EXPERIMENTAL_CXX0X__
00108 # if defined(_GLIBCXX_INCLUDE_AS_TR1)
00109 # error C++0x header cannot be included from TR1 header
00110 # endif
00111 # if defined(_GLIBCXX_INCLUDE_AS_CXX0X)
00112 # include <tr1_impl/cwctype>
00113 # else
00114 # define _GLIBCXX_INCLUDE_AS_CXX0X
00115 # define _GLIBCXX_BEGIN_NAMESPACE_TR1
00116 # define _GLIBCXX_END_NAMESPACE_TR1
00117 # define _GLIBCXX_TR1
00118 # include <tr1_impl/cwctype>
00119 # undef _GLIBCXX_TR1
00120 # undef _GLIBCXX_END_NAMESPACE_TR1
00121 # undef _GLIBCXX_BEGIN_NAMESPACE_TR1
00122 # undef _GLIBCXX_INCLUDE_AS_CXX0X
00123 # endif
00124 #endif
00125
00126 #endif