34 #ifndef _LOCALE_FACETS_NONIO_H
35 #define _LOCALE_FACETS_NONIO_H 1
37 #pragma GCC system_header
41 namespace std _GLIBCXX_VISIBILITY(default)
43 _GLIBCXX_BEGIN_NAMESPACE_VERSION
55 enum dateorder { no_order, dmy, mdy, ymd, ydm };
58 template<
typename _CharT>
62 static const _CharT* _S_timezones[14];
64 const _CharT* _M_date_format;
65 const _CharT* _M_date_era_format;
66 const _CharT* _M_time_format;
67 const _CharT* _M_time_era_format;
68 const _CharT* _M_date_time_format;
69 const _CharT* _M_date_time_era_format;
72 const _CharT* _M_am_pm_format;
75 const _CharT* _M_day1;
76 const _CharT* _M_day2;
77 const _CharT* _M_day3;
78 const _CharT* _M_day4;
79 const _CharT* _M_day5;
80 const _CharT* _M_day6;
81 const _CharT* _M_day7;
84 const _CharT* _M_aday1;
85 const _CharT* _M_aday2;
86 const _CharT* _M_aday3;
87 const _CharT* _M_aday4;
88 const _CharT* _M_aday5;
89 const _CharT* _M_aday6;
90 const _CharT* _M_aday7;
93 const _CharT* _M_month01;
94 const _CharT* _M_month02;
95 const _CharT* _M_month03;
96 const _CharT* _M_month04;
97 const _CharT* _M_month05;
98 const _CharT* _M_month06;
99 const _CharT* _M_month07;
100 const _CharT* _M_month08;
101 const _CharT* _M_month09;
102 const _CharT* _M_month10;
103 const _CharT* _M_month11;
104 const _CharT* _M_month12;
107 const _CharT* _M_amonth01;
108 const _CharT* _M_amonth02;
109 const _CharT* _M_amonth03;
110 const _CharT* _M_amonth04;
111 const _CharT* _M_amonth05;
112 const _CharT* _M_amonth06;
113 const _CharT* _M_amonth07;
114 const _CharT* _M_amonth08;
115 const _CharT* _M_amonth09;
116 const _CharT* _M_amonth10;
117 const _CharT* _M_amonth11;
118 const _CharT* _M_amonth12;
122 __timepunct_cache(
size_t __refs = 0) : facet(__refs),
123 _M_date_format(0), _M_date_era_format(0), _M_time_format(0),
124 _M_time_era_format(0), _M_date_time_format(0),
125 _M_date_time_era_format(0), _M_am(0), _M_pm(0),
126 _M_am_pm_format(0), _M_day1(0), _M_day2(0), _M_day3(0),
127 _M_day4(0), _M_day5(0), _M_day6(0), _M_day7(0),
128 _M_aday1(0), _M_aday2(0), _M_aday3(0), _M_aday4(0),
129 _M_aday5(0), _M_aday6(0), _M_aday7(0), _M_month01(0),
130 _M_month02(0), _M_month03(0), _M_month04(0), _M_month05(0),
131 _M_month06(0), _M_month07(0), _M_month08(0), _M_month09(0),
132 _M_month10(0), _M_month11(0), _M_month12(0), _M_amonth01(0),
133 _M_amonth02(0), _M_amonth03(0), _M_amonth04(0),
134 _M_amonth05(0), _M_amonth06(0), _M_amonth07(0),
135 _M_amonth08(0), _M_amonth09(0), _M_amonth10(0),
136 _M_amonth11(0), _M_amonth12(0), _M_allocated(false)
139 ~__timepunct_cache();
143 operator=(
const __timepunct_cache&);
146 __timepunct_cache(
const __timepunct_cache&);
149 template<
typename _CharT>
150 __timepunct_cache<_CharT>::~__timepunct_cache()
161 __timepunct_cache<char>::_S_timezones[14];
163 #ifdef _GLIBCXX_USE_WCHAR_T
166 __timepunct_cache<wchar_t>::_S_timezones[14];
170 template<
typename _CharT>
171 const _CharT* __timepunct_cache<_CharT>::_S_timezones[14];
173 template<
typename _CharT>
174 class __timepunct :
public locale::facet
178 typedef _CharT __char_type;
179 typedef __timepunct_cache<_CharT> __cache_type;
182 __cache_type* _M_data;
183 __c_locale _M_c_locale_timepunct;
184 const char* _M_name_timepunct;
188 static locale::id id;
191 __timepunct(
size_t __refs = 0);
194 __timepunct(__cache_type* __cache,
size_t __refs = 0);
207 __timepunct(__c_locale __cloc,
const char* __s,
size_t __refs = 0);
212 _M_put(_CharT* __s,
size_t __maxlen,
const _CharT* __format,
213 const tm* __tm)
const throw ();
216 _M_date_formats(
const _CharT** __date)
const
219 __date[0] = _M_data->_M_date_format;
220 __date[1] = _M_data->_M_date_era_format;
224 _M_time_formats(
const _CharT** __time)
const
227 __time[0] = _M_data->_M_time_format;
228 __time[1] = _M_data->_M_time_era_format;
232 _M_date_time_formats(
const _CharT** __dt)
const
235 __dt[0] = _M_data->_M_date_time_format;
236 __dt[1] = _M_data->_M_date_time_era_format;
239 #if !_GLIBCXX_INLINE_VERSION
241 _M_am_pm_format(
const _CharT*)
const
246 _M_am_pm(
const _CharT** __ampm)
const
248 __ampm[0] = _M_data->_M_am;
249 __ampm[1] = _M_data->_M_pm;
253 _M_days(
const _CharT** __days)
const
255 __days[0] = _M_data->_M_day1;
256 __days[1] = _M_data->_M_day2;
257 __days[2] = _M_data->_M_day3;
258 __days[3] = _M_data->_M_day4;
259 __days[4] = _M_data->_M_day5;
260 __days[5] = _M_data->_M_day6;
261 __days[6] = _M_data->_M_day7;
265 _M_days_abbreviated(
const _CharT** __days)
const
267 __days[0] = _M_data->_M_aday1;
268 __days[1] = _M_data->_M_aday2;
269 __days[2] = _M_data->_M_aday3;
270 __days[3] = _M_data->_M_aday4;
271 __days[4] = _M_data->_M_aday5;
272 __days[5] = _M_data->_M_aday6;
273 __days[6] = _M_data->_M_aday7;
277 _M_months(
const _CharT** __months)
const
279 __months[0] = _M_data->_M_month01;
280 __months[1] = _M_data->_M_month02;
281 __months[2] = _M_data->_M_month03;
282 __months[3] = _M_data->_M_month04;
283 __months[4] = _M_data->_M_month05;
284 __months[5] = _M_data->_M_month06;
285 __months[6] = _M_data->_M_month07;
286 __months[7] = _M_data->_M_month08;
287 __months[8] = _M_data->_M_month09;
288 __months[9] = _M_data->_M_month10;
289 __months[10] = _M_data->_M_month11;
290 __months[11] = _M_data->_M_month12;
294 _M_months_abbreviated(
const _CharT** __months)
const
296 __months[0] = _M_data->_M_amonth01;
297 __months[1] = _M_data->_M_amonth02;
298 __months[2] = _M_data->_M_amonth03;
299 __months[3] = _M_data->_M_amonth04;
300 __months[4] = _M_data->_M_amonth05;
301 __months[5] = _M_data->_M_amonth06;
302 __months[6] = _M_data->_M_amonth07;
303 __months[7] = _M_data->_M_amonth08;
304 __months[8] = _M_data->_M_amonth09;
305 __months[9] = _M_data->_M_amonth10;
306 __months[10] = _M_data->_M_amonth11;
307 __months[11] = _M_data->_M_amonth12;
316 _M_initialize_timepunct(__c_locale __cloc = 0);
319 template<
typename _CharT>
320 locale::id __timepunct<_CharT>::id;
325 __timepunct<char>::_M_initialize_timepunct(__c_locale __cloc);
329 __timepunct<char>::_M_put(
char*,
size_t,
const char*,
const tm*)
const throw ();
331 #ifdef _GLIBCXX_USE_WCHAR_T
334 __timepunct<wchar_t>::_M_initialize_timepunct(__c_locale __cloc);
338 __timepunct<wchar_t>::_M_put(
wchar_t*,
size_t,
const wchar_t*,
339 const tm*)
const throw ();
342 _GLIBCXX_END_NAMESPACE_VERSION
348 namespace std _GLIBCXX_VISIBILITY(default)
350 _GLIBCXX_BEGIN_NAMESPACE_VERSION
352 _GLIBCXX_BEGIN_NAMESPACE_CXX11
367 template<
typename _CharT,
typename _InIter>
431 ios_base::iostate& __err, tm* __tm)
const
432 {
return this->
do_get_time(__beg, __end, __io, __err, __tm); }
456 ios_base::iostate& __err, tm* __tm)
const
457 {
return this->
do_get_date(__beg, __end, __io, __err, __tm); }
484 ios_base::iostate& __err, tm* __tm)
const
513 ios_base::iostate& __err, tm* __tm)
const
539 ios_base::iostate& __err, tm* __tm)
const
540 {
return this->
do_get_year(__beg, __end, __io, __err, __tm); }
542 #if __cplusplus >= 201103L
560 ios_base::iostate& __err, tm* __tm,
char __format,
561 char __modifier = 0)
const
563 return this->
do_get(__s, __end, __io, __err, __tm, __format,
586 ios_base::iostate& __err, tm* __tm,
const char_type* __fmt,
625 ios_base::iostate& __err, tm* __tm)
const;
644 ios_base::iostate& __err, tm* __tm)
const;
663 ios_base::iostate& __err, tm* __tm)
const;
682 ios_base::iostate& __err, tm* __tm)
const;
701 ios_base::iostate& __err, tm* __tm)
const;
703 #if __cplusplus >= 201103L
721 #if _GLIBCXX_USE_CXX11_ABI
726 ios_base::iostate& __err, tm* __tm,
727 char __format,
char __modifier)
const;
733 int __min,
int __max,
size_t __len,
734 ios_base& __io, ios_base::iostate& __err)
const;
739 const _CharT** __names,
size_t __indexlen,
740 ios_base& __io, ios_base::iostate& __err)
const;
745 const _CharT** __names,
size_t __indexlen,
746 ios_base& __io, ios_base::iostate& __err)
const;
751 ios_base::iostate& __err, tm* __tm,
752 const _CharT* __format)
const;
755 template<
typename _CharT,
typename _InIter>
759 template<
typename _CharT,
typename _InIter>
771 #if __cplusplus >= 201103L
782 _GLIBCXX_END_NAMESPACE_CXX11
796 template<
typename _CharT,
typename _OutIter>
838 const _CharT* __beg,
const _CharT* __end)
const;
858 const tm* __tm,
char __format,
char __mod = 0)
const
859 {
return this->
do_put(__s, __io, __fill, __tm, __format, __mod); }
885 char __format,
char __mod)
const;
888 template<
typename _CharT,
typename _OutIter>
892 template<
typename _CharT,
typename _OutIter>
905 #if __cplusplus >= 201103L
931 enum part { none, space, symbol, sign, value };
932 struct pattern {
char field[4]; };
934 static const pattern _S_default_pattern;
945 static const char* _S_atoms;
949 _GLIBCXX_CONST
static pattern
950 _S_construct_pattern(
char __precedes,
char __space,
char __posn)
throw ();
953 template<
typename _CharT,
bool _Intl>
956 const char* _M_grouping;
957 size_t _M_grouping_size;
958 bool _M_use_grouping;
959 _CharT _M_decimal_point;
960 _CharT _M_thousands_sep;
961 const _CharT* _M_curr_symbol;
962 size_t _M_curr_symbol_size;
963 const _CharT* _M_positive_sign;
964 size_t _M_positive_sign_size;
965 const _CharT* _M_negative_sign;
966 size_t _M_negative_sign_size;
968 money_base::pattern _M_pos_format;
969 money_base::pattern _M_neg_format;
974 _CharT _M_atoms[money_base::_S_end];
978 __moneypunct_cache(
size_t __refs = 0) : facet(__refs),
979 _M_grouping(0), _M_grouping_size(0), _M_use_grouping(false),
980 _M_decimal_point(_CharT()), _M_thousands_sep(_CharT()),
981 _M_curr_symbol(0), _M_curr_symbol_size(0),
982 _M_positive_sign(0), _M_positive_sign_size(0),
983 _M_negative_sign(0), _M_negative_sign_size(0),
986 _M_neg_format(
money_base::pattern()), _M_allocated(false)
989 ~__moneypunct_cache();
992 _M_cache(
const locale& __loc);
996 operator=(
const __moneypunct_cache&);
999 __moneypunct_cache(
const __moneypunct_cache&);
1002 template<
typename _CharT,
bool _Intl>
1003 __moneypunct_cache<_CharT, _Intl>::~__moneypunct_cache()
1007 delete [] _M_grouping;
1008 delete [] _M_curr_symbol;
1009 delete [] _M_positive_sign;
1010 delete [] _M_negative_sign;
1014 _GLIBCXX_BEGIN_NAMESPACE_CXX11
1023 template<
typename _CharT,
bool _Intl>
1033 typedef __moneypunct_cache<_CharT, _Intl> __cache_type;
1036 __cache_type* _M_data;
1054 :
facet(__refs), _M_data(0)
1055 { _M_initialize_moneypunct(); }
1067 :
facet(__refs), _M_data(__cache)
1068 { _M_initialize_moneypunct(); }
1081 moneypunct(__c_locale __cloc,
const char* __s,
size_t __refs = 0)
1082 :
facet(__refs), _M_data(0)
1083 { _M_initialize_moneypunct(__cloc, __s); }
1260 {
return _M_data->_M_decimal_point; }
1272 {
return _M_data->_M_thousands_sep; }
1285 {
return _M_data->_M_grouping; }
1298 {
return _M_data->_M_curr_symbol; }
1311 {
return _M_data->_M_positive_sign; }
1324 {
return _M_data->_M_negative_sign; }
1338 {
return _M_data->_M_frac_digits; }
1352 {
return _M_data->_M_pos_format; }
1366 {
return _M_data->_M_neg_format; }
1370 _M_initialize_moneypunct(__c_locale __cloc = 0,
1371 const char* __name = 0);
1374 template<
typename _CharT,
bool _Intl>
1377 template<
typename _CharT,
bool _Intl>
1388 moneypunct<char, true>::_M_initialize_moneypunct(__c_locale,
const char*);
1392 moneypunct<char, false>::_M_initialize_moneypunct(__c_locale,
const char*);
1394 #ifdef _GLIBCXX_USE_WCHAR_T
1403 moneypunct<wchar_t, true>::_M_initialize_moneypunct(__c_locale,
1408 moneypunct<wchar_t, false>::_M_initialize_moneypunct(__c_locale,
1413 template<
typename _CharT,
bool _Intl>
1420 static const bool intl = _Intl;
1426 if (__builtin_strcmp(__s,
"C") != 0
1427 && __builtin_strcmp(__s,
"POSIX") != 0)
1430 this->_S_create_c_locale(__tmp, __s);
1431 this->_M_initialize_moneypunct(__tmp);
1432 this->_S_destroy_c_locale(__tmp);
1436 #if __cplusplus >= 201103L
1447 template<
typename _CharT,
bool _Intl>
1450 _GLIBCXX_END_NAMESPACE_CXX11
1452 _GLIBCXX_BEGIN_NAMESPACE_LDBL_OR_CXX11
1467 template<
typename _CharT,
typename _InIter>
1521 ios_base::iostate& __err,
long double& __units)
const
1522 {
return this->
do_get(__s, __end, __intl, __io, __err, __units); }
1552 ios_base::iostate& __err,
string_type& __digits)
const
1553 {
return this->
do_get(__s, __end, __intl, __io, __err, __digits); }
1568 #if defined _GLIBCXX_LONG_DOUBLE_COMPAT && defined __LONG_DOUBLE_128__ \
1569 && _GLIBCXX_USE_CXX11_ABI == 0
1572 ios_base::iostate& __err,
double& __units)
const;
1576 ios_base::iostate& __err,
long double& __units)
const;
1588 ios_base::iostate& __err,
string_type& __digits)
const;
1591 #if defined _GLIBCXX_LONG_DOUBLE_COMPAT && defined __LONG_DOUBLE_128__ \
1592 && _GLIBCXX_USE_CXX11_ABI == 0
1595 ios_base::iostate& __err,
long double& __units)
const;
1598 template<
bool _Intl>
1601 ios_base::iostate& __err,
string& __digits)
const;
1604 template<
typename _CharT,
typename _InIter>
1620 template<
typename _CharT,
typename _OutIter>
1663 char_type __fill,
long double __units)
const
1664 {
return this->
do_put(__s, __intl, __io, __fill, __units); }
1687 {
return this->
do_put(__s, __intl, __io, __fill, __digits); }
1713 #if defined _GLIBCXX_LONG_DOUBLE_COMPAT && defined __LONG_DOUBLE_128__ \
1714 && _GLIBCXX_USE_CXX11_ABI == 0
1717 double __units)
const;
1721 long double __units)
const;
1748 #if defined _GLIBCXX_LONG_DOUBLE_COMPAT && defined __LONG_DOUBLE_128__ \
1749 && _GLIBCXX_USE_CXX11_ABI == 0
1752 long double __units)
const;
1755 template<
bool _Intl>
1761 template<
typename _CharT,
typename _OutIter>
1764 _GLIBCXX_END_NAMESPACE_LDBL_OR_CXX11
1772 typedef int catalog;
1775 _GLIBCXX_BEGIN_NAMESPACE_CXX11
1798 template<
typename _CharT>
1812 __c_locale _M_c_locale_messages;
1813 const char* _M_name_messages;
1841 messages(__c_locale __cloc,
const char* __s,
size_t __refs = 0);
1855 {
return this->do_open(__s, __loc); }
1890 get(catalog __c,
int __set,
int __msgid,
const string_type& __s)
const
1891 {
return this->do_get(__c, __set, __msgid, __s); }
1901 close(catalog __c)
const
1902 {
return this->do_close(__c); }
1921 do_open(
const basic_string<char>&,
const locale&)
const;
1940 do_get(catalog,
int,
int,
const string_type& __dfault)
const;
1948 do_close(catalog)
const;
1952 _M_convert_to_char(
const string_type& __msg)
const
1955 return reinterpret_cast<char*
>(
const_cast<_CharT*
>(__msg.c_str()));
1960 _M_convert_from_char(
char*)
const
1967 template<
typename _CharT>
1975 #ifdef _GLIBCXX_USE_WCHAR_T
1982 template<
typename _CharT>
1992 #if __cplusplus >= 201103L
2004 _GLIBCXX_END_NAMESPACE_CXX11
2006 _GLIBCXX_END_NAMESPACE_VERSION
ISO C++ entities toplevel namespace is std.
const _CharT * c_str() const noexcept
Return const pointer to null-terminated contents.
The base of the I/O class hierarchy.
Container class for localization functionality.
Localization functionality base class.
facet(size_t __refs=0)
Facet constructor.
Time format ordering data.
Primary class template time_get.
virtual iter_type do_get_year(iter_type __beg, iter_type __end, ios_base &__io, ios_base::iostate &__err, tm *__tm) const
Parse input year string.
iter_type get_year(iter_type __beg, iter_type __end, ios_base &__io, ios_base::iostate &__err, tm *__tm) const
Parse input year string.
iter_type get_time(iter_type __beg, iter_type __end, ios_base &__io, ios_base::iostate &__err, tm *__tm) const
Parse input time string.
static locale::id id
Numpunct facet id.
_InIter iter_type
Public typedefs.
virtual iter_type do_get_weekday(iter_type __beg, iter_type __end, ios_base &, ios_base::iostate &__err, tm *__tm) const
Parse input weekday string.
dateorder date_order() const
Return preferred order of month, day, and year.
virtual iter_type do_get_monthname(iter_type __beg, iter_type __end, ios_base &, ios_base::iostate &__err, tm *__tm) const
Parse input month string.
_CharT char_type
Public typedefs.
virtual ~time_get()
Destructor.
iter_type do_get(iter_type __s, iter_type __end, ios_base &__f, ios_base::iostate &__err, tm *__tm, char __format, char __modifier) const
Parse input string according to format.
iter_type get(iter_type __s, iter_type __end, ios_base &__io, ios_base::iostate &__err, tm *__tm, char __format, char __modifier=0) const
Parse input string according to format.
iter_type get_date(iter_type __beg, iter_type __end, ios_base &__io, ios_base::iostate &__err, tm *__tm) const
Parse input date string.
virtual dateorder do_date_order() const
Return preferred order of month, day, and year.
virtual iter_type do_get_date(iter_type __beg, iter_type __end, ios_base &__io, ios_base::iostate &__err, tm *__tm) const
Parse input date string.
virtual iter_type do_get_time(iter_type __beg, iter_type __end, ios_base &__io, ios_base::iostate &__err, tm *__tm) const
Parse input time string.
time_get(size_t __refs=0)
Constructor performs initialization.
iter_type get_monthname(iter_type __beg, iter_type __end, ios_base &__io, ios_base::iostate &__err, tm *__tm) const
Parse input month string.
iter_type get_weekday(iter_type __beg, iter_type __end, ios_base &__io, ios_base::iostate &__err, tm *__tm) const
Parse input weekday string.
class time_get_byname [22.2.5.2].
Primary class template time_put.
virtual iter_type do_put(iter_type __s, ios_base &__io, char_type __fill, const tm *__tm, char __format, char __mod) const
Format and output a time or date.
_CharT char_type
Public typedefs.
iter_type put(iter_type __s, ios_base &__io, char_type __fill, const tm *__tm, char __format, char __mod=0) const
Format and output a time or date.
virtual ~time_put()
Destructor.
iter_type put(iter_type __s, ios_base &__io, char_type __fill, const tm *__tm, const _CharT *__beg, const _CharT *__end) const
Format and output a time or date.
_OutIter iter_type
Public typedefs.
static locale::id id
Numpunct facet id.
time_put(size_t __refs=0)
Constructor performs initialization.
class time_put_byname [22.2.5.4].
Money format ordering data.
Primary class template moneypunct.
virtual ~moneypunct()
Destructor.
string_type curr_symbol() const
Return currency symbol string.
moneypunct(__c_locale __cloc, const char *__s, size_t __refs=0)
Internal constructor. Not for general use.
static locale::id id
Numpunct facet id.
virtual string_type do_negative_sign() const
Return negative sign string.
string_type positive_sign() const
Return positive sign string.
virtual int do_frac_digits() const
Return number of digits in fraction.
basic_string< _CharT > string_type
Public typedefs.
char_type thousands_sep() const
Return thousands separator character.
char_type decimal_point() const
Return decimal point character.
moneypunct(size_t __refs=0)
Constructor performs initialization.
virtual string_type do_positive_sign() const
Return positive sign string.
virtual string_type do_curr_symbol() const
Return currency symbol string.
string_type negative_sign() const
Return negative sign string.
moneypunct(__cache_type *__cache, size_t __refs=0)
Constructor performs initialization.
pattern neg_format() const
Return pattern for money values.
virtual pattern do_neg_format() const
Return pattern for money values.
int frac_digits() const
Return number of digits in fraction.
virtual char_type do_decimal_point() const
Return decimal point character.
virtual char_type do_thousands_sep() const
Return thousands separator character.
virtual string do_grouping() const
Return grouping specification.
virtual pattern do_pos_format() const
Return pattern for money values.
string grouping() const
Return grouping specification.
pattern pos_format() const
Return pattern for money values.
_CharT char_type
Public typedefs.
static const bool intl
This value is provided by the standard, but no reason for its existence.
class moneypunct_byname [22.2.6.4].
Primary class template money_get.
basic_string< _CharT > string_type
Public typedefs.
_CharT char_type
Public typedefs.
money_get(size_t __refs=0)
Constructor performs initialization.
virtual iter_type do_get(iter_type __s, iter_type __end, bool __intl, ios_base &__io, ios_base::iostate &__err, long double &__units) const
Read and parse a monetary value.
static locale::id id
Numpunct facet id.
iter_type get(iter_type __s, iter_type __end, bool __intl, ios_base &__io, ios_base::iostate &__err, long double &__units) const
Read and parse a monetary value.
virtual ~money_get()
Destructor.
iter_type get(iter_type __s, iter_type __end, bool __intl, ios_base &__io, ios_base::iostate &__err, string_type &__digits) const
Read and parse a monetary value.
_InIter iter_type
Public typedefs.
Primary class template money_put.
virtual iter_type do_put(iter_type __s, bool __intl, ios_base &__io, char_type __fill, long double __units) const
Format and output a monetary value.
static locale::id id
Numpunct facet id.
basic_string< _CharT > string_type
Public typedefs.
iter_type put(iter_type __s, bool __intl, ios_base &__io, char_type __fill, long double __units) const
Format and output a monetary value.
iter_type put(iter_type __s, bool __intl, ios_base &__io, char_type __fill, const string_type &__digits) const
Format and output a monetary value.
money_put(size_t __refs=0)
Constructor performs initialization.
_OutIter iter_type
Public typedefs.
_CharT char_type
Public typedefs.
virtual ~money_put()
Destructor.
Messages facet base class providing catalog typedef.
Primary class template messages.
_CharT char_type
Public typedefs.
messages(size_t __refs=0)
Constructor performs initialization.
virtual ~messages()
Destructor.
static locale::id id
Numpunct facet id.
basic_string< _CharT > string_type
Public typedefs.
class messages_byname [22.2.7.2].