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
#ifndef _LOCALE_FWD_H
00041
#define _LOCALE_FWD_H 1
00042
00043
#pragma GCC system_header
00044
00045
#include <bits/c++config.h>
00046
#include <bits/c++locale.h>
00047
#include <iosfwd>
00048
#include <bits/functexcept.h>
00049
00050
namespace std
00051 {
00052
00053
class locale;
00054
00055
00056
template<
typename _CharT>
00057
inline bool
00058
isspace(_CharT,
const locale&);
00059
00060
template<
typename _CharT>
00061
inline bool
00062 isprint(_CharT,
const locale&);
00063
00064
template<
typename _CharT>
00065
inline bool
00066 iscntrl(_CharT,
const locale&);
00067
00068
template<
typename _CharT>
00069
inline bool
00070 isupper(_CharT,
const locale&);
00071
00072
template<
typename _CharT>
00073
inline bool
00074 islower(_CharT,
const locale&);
00075
00076
template<
typename _CharT>
00077
inline bool
00078 isalpha(_CharT,
const locale&);
00079
00080
template<
typename _CharT>
00081
inline bool
00082 isdigit(_CharT,
const locale&);
00083
00084
template<
typename _CharT>
00085
inline bool
00086 ispunct(_CharT,
const locale&);
00087
00088
template<
typename _CharT>
00089
inline bool
00090 isxdigit(_CharT,
const locale&);
00091
00092
template<
typename _CharT>
00093
inline bool
00094 isalnum(_CharT,
const locale&);
00095
00096
template<
typename _CharT>
00097
inline bool
00098 isgraph(_CharT,
const locale&);
00099
00100
template<
typename _CharT>
00101
inline _CharT
00102 toupper(_CharT,
const locale&);
00103
00104
template<
typename _CharT>
00105
inline _CharT
00106 tolower(_CharT,
const locale&);
00107
00108
00109
class ctype_base;
00110
template<
typename _CharT>
00111
class ctype;
00112
template<>
class ctype<char>;
00113
#ifdef _GLIBCXX_USE_WCHAR_T
00114
template<>
class ctype<wchar_t>;
00115
#endif
00116
template<
typename _CharT>
00117
class ctype_byname;
00118
00119
00120
class codecvt_base;
00121
class __enc_traits;
00122
template<
typename _InternT,
typename _ExternT,
typename _StateT>
00123
class codecvt;
00124
template<>
class codecvt<char, char, mbstate_t>;
00125
#ifdef _GLIBCXX_USE_WCHAR_T
00126
template<>
class codecvt<wchar_t, char, mbstate_t>;
00127
#endif
00128
template<
typename _InternT,
typename _ExternT,
typename _StateT>
00129
class codecvt_byname;
00130
00131
00132
template<
typename _CharT,
typename _InIter = istreambuf_iterator<_CharT> >
00133
class num_get;
00134
template<
typename _CharT,
typename _OutIter = ostreambuf_iterator<_CharT> >
00135
class num_put;
00136
template<
typename _CharT>
class numpunct;
00137
template<
typename _CharT>
class numpunct_byname;
00138
00139
00140
template<
typename _CharT>
00141
class collate;
00142
template<
typename _CharT>
class
00143
collate_byname;
00144
00145
00146
class time_base;
00147
template<
typename _CharT,
typename _InIter = istreambuf_iterator<_CharT> >
00148
class time_get;
00149
template<
typename _CharT,
typename _InIter = istreambuf_iterator<_CharT> >
00150
class time_get_byname;
00151
template<
typename _CharT,
typename _OutIter = ostreambuf_iterator<_CharT> >
00152
class time_put;
00153
template<
typename _CharT,
typename _OutIter = ostreambuf_iterator<_CharT> >
00154
class time_put_byname;
00155
00156
00157
class money_base;
00158
template<
typename _CharT,
typename _InIter = istreambuf_iterator<_CharT> >
00159
class money_get;
00160
template<
typename _CharT,
typename _OutIter = ostreambuf_iterator<_CharT> >
00161
class money_put;
00162
template<
typename _CharT,
bool _Intl = false>
00163
class moneypunct;
00164
template<
typename _CharT,
bool _Intl = false>
00165
class moneypunct_byname;
00166
00167
00168
class messages_base;
00169
template<
typename _CharT>
00170
class messages;
00171
template<
typename _CharT>
00172
class messages_byname;
00173
00174
template<
typename _Facet>
00175
bool
00176
has_facet(
const locale& __loc)
throw();
00177
00178
template<
typename _Facet>
00179
const _Facet&
00180
use_facet(
const locale& __loc);
00181
00182
template<
typename _Facet>
00183
inline const _Facet&
00184 __check_facet(
const _Facet* __f)
00185 {
00186
if (!__f)
00187 __throw_bad_cast();
00188
return *__f;
00189 }
00190 }
00191
00192
#endif