32#ifndef _RWSTD_LOC_MONEY_PUT_H_INCLUDED
33#define _RWSTD_LOC_MONEY_PUT_H_INCLUDED
37# pragma GCC system_header
53template <
class _CharT,
class _OutputIter = ostreambuf_iterator<_CharT> >
54struct money_put: _RW::__rw_facet
56 typedef _CharT char_type;
57 typedef _OutputIter iter_type;
60 basic_string<char_type, char_traits<char_type>, allocator<char_type> >
63 explicit money_put (_RWSTD_SIZE_T __ref = 0)
64 : _RW::__rw_facet (__ref) { }
69 iter_type put (iter_type __it,
bool __intl, ios_base &__flags,
70 char_type __fill,
long double __val)
const {
71 return do_put (__it, __intl, __flags, __fill, __val);
74 iter_type put (iter_type __it,
bool __intl, ios_base &__flags,
75 char_type __fill,
const string_type &__val)
const {
76 return do_put (__it, __intl, __flags, __fill, __val);
79 static _RW::__rw_facet_id id;
85 do_put (iter_type,
bool, ios_base&, char_type,
long double)
const;
88 do_put (iter_type,
bool, ios_base&, char_type,
const string_type&)
const;
92 enum { _C_intl = 0x1, _C_ldbl = 0x2 };
94 iter_type _C_put (iter_type,
int, ios_base&, char_type,
95 const char_type*, _RWSTD_SIZE_T,
int,
96 const char*, _RWSTD_SIZE_T)
const;
100#ifndef _RWSTD_NO_SPECIALIZED_FACET_ID
103_RW::__rw_facet_id money_put<char, ostreambuf_iterator<char> >::id;
105# ifndef _RWSTD_NO_WCHAR_T
108_RW::__rw_facet_id money_put<wchar_t, ostreambuf_iterator<wchar_t> >::id;
116#if _RWSTD_DEFINE_TEMPLATE_FIRST (_MONEY_PUT)
122# pragma warning (push)
123# pragma warning (disable: 4231)
129#if _RWSTD_INSTANTIATE (_MONEY_PUT, _CHAR)
135#if _RWSTD_INSTANTIATE (_MONEY_PUT, _WCHAR_T)
145# pragma warning (pop)
149#if _RWSTD_DEFINE_TEMPLATE_LAST (_MONEY_PUT)
#define _RWSTD_SPECIALIZED_CLASS
#define _RWSTD_INSTANTIATE_1(arg)
#define _RWSTD_NAMESPACE(name)
#define _RWSTD_ATTRIBUTE_NOTHROW